/* * Program to paint a blue dot in the context of the nonrepresentational * Painting world, NPW */ package shapes; public class WhiteArea { public static void main(String[] args) { //creating shapes SSquare square = new SSquare(0.75); SCircle dot = new SCircle((.75/8.0)/2.0); //variables double amountOfDots = 21.0; double totalSideArea = square.area() * 6.0; double dotArea = dot.area() * amountOfDots; //output System.out.println("White Area On A Die: " + (totalSideArea - dotArea) + " inches squared."); } }