/home/sjenks/NetBeansProjects/CS1/src/shapes/ShapesThing.java
 1 /*
 2  * The program affords the oppertunitiesto explore the computational solution to
 3  * simple geometrical problems by means of the consturuction and use of basic 
 4  * shapes.
 5  */
 6 package shapes;
 7 
 8 /**
 9  *
10  * @author sjenks.
11  */
12 public class ShapesThing {
13 
14     /**
15      * @param args the command line arguments
16      */
17     public static void main(String[] args) {
18         SSquare square = new SSquare (400); 
19         System.out.println("square = " + square.toString());
20         System.out.println("area of square = " + square.area());
21         System.out.println("diagonal = " + square.diagonal());
22         SCircle disk = square.inscribingCircle();
23         System.out.println("disk = " + disk.toString());
24         System.out.println("area of disk = " + disk.area());
25         System.out.println("perimeter of disk = " + disk.perimeter());
26         SSquare diamond = disk.inscribingSquare();
27         System.out.println("diamond = " + diamond.toString());
28         System.out.println("area of diamond = " +diamond.area());
29         
30        
31     }
32     
33 }
34