1 package shapes; 2 3 public class WhiteArea { 4 5 //SOLUTION TO THE STANDARD DIE PROBLEM 6 7 public static void main(String[]args) { 8 9 double edgelength = (.75); 10 double diameterofdot = ((.125)* edgelength); 11 double radiusofdot = diameterofdot/2; 12 13 14 SSquare dieface = new SSquare (edgelength); 15 SCircle dot = new SCircle(radiusofdot); 16 17 18 double WhiteAreaOfAWhiteDie = (dieface.area()*6)- (dot.area()*21); 19 System.out.println(" the white area of the white die is " + WhiteAreaOfAWhiteDie + " squared inches" ); 20 21 } 22 } 23