This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package assigment2; | |
/* | |
* | |
* author: Atila Sabo | |
* Aug.03.2018. | |
* (my first solution) | |
* | |
https://see.stanford.edu/materials/icspmcs106a/13-assignment-2-simple-java.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* File name: Pyramid.java | |
* This program will display a pyramid centered within the screen. | |
*/ | |
import acm.program.*; | |
import acm.graphics.GRect; | |
public class Pyramid extends GraphicsProgram { | |
public void run() { |