package shapes; public class WhiteArea { public static void main(String[] args) { double DieEdgeLength = 0.75; System.out.println("Edge Length of The Die = " + DieEdgeLength + " inches"); double DotDiameter = DieEdgeLength / 8; System.out.println("Dot Diameter = " + DotDiameter + " inches"); double DotRadius = DotDiameter / 2; System.out.println("Dot Radius = " + DotRadius + " inches"); double AreaOneSide = (0.75 * 0.75); System.out.println("Surface Area of One Side of The Die = " + AreaOneSide + " inches squared"); // A standard die has 6 sides. double DieSurfaceArea = (0.75 * 0.75) * 6; System.out.println("Surface Area of The Die = " + DieSurfaceArea + " inches squared"); double DotArea = 3.14 * (DotRadius * DotRadius); System.out.println("Area of a Dot = " + DotArea + " inches squared"); // A standard die has 21 dots in total on it. double TotalDotArea = DotArea * 21; System.out.println("Total Area of All The Dots on The Die = " + TotalDotArea + " inches squared"); double WhiteSpace = DieSurfaceArea - TotalDotArea; System.out.println("Area of White Space on The Die = " + WhiteSpace + " inches squared"); } }