WhiteArea.java
1    package shapes;
2    
3    public class WhiteArea {
4        public static void main(String[] args) {
5            double edgelength = .75;
6            double dotdiamter = edgelength/8;
7            double totalarea = (edgelength*edgelength)*6;
8            double totaldotarea= dotdiamter*21;
9            double space = totalarea - totaldotarea;
10           System.out.println("Free space = " + space);
11           System.out.println("Total Dot Diameter = " + totaldotarea);
12   
13       }
14   
15   }
16