/home/cdesrivi/NetBeansProjects/CS1/src/shapes/WhiteArea.java
 1 /*
 2  * To change this license header, choose License Headers in Project Properties.
 3  * To change this template file, choose Tools | Templates
 4  * and open the template in the editor.
 5  */
 6 package shapes;
 7 
 8 /**
 9  *
10  * @author cdesrivi
11  */
12 public class WhiteArea {
13 
14     /**
15      * @param args the command line arguments
16      */
17     public static void main(String[] args) {
18         SSquare die = new SSquare(1.25);
19         double dotdiameter = (die.side() / 7);
20         double edgeLength = 1.25;
21         System.out.println("die = " + die.toString());
22         System.out.println("die = " + die.area());
23         double Face = (6*die.area() - 21*dotdiameter);
24         System.out.println("Area of White" + Face);
25     }
26     
27 }
28