package shapes; public class WorkArea { public static void main(String[] args) { int deskheight = 24; double bookheight = 8.5; int plateradius = 8; int bookwidth = 11; int deskwidth = 36; double glassradius = 1.35; SRectangle desk = new SRectangle(deskheight,deskwidth); SRectangle book = new SRectangle(bookheight,bookwidth); SCircle plate = new SCircle(plateradius); SCircle glass = new SCircle(glassradius); SSquare coaster = glass.circumscribingSquare(); System.out.println("Area of desk = " + desk.area()); System.out.println("Area of a book = " + book.area()); System.out.println("Area of the books = " + book.area()*2); System.out.println("Area of a plate = " + plate.area()); System.out.println("Area of the plate = " + plate.area()*3); System.out.println("Area of a glass = " + glass.area()); System.out.println("Area of the glasses = " + glass.area()*3); System.out.println("Area of a coaster = " + coaster.area()); System.out.println("Area of the coasters = " + coaster.area()*3); System.out.println("Area left on the desk = " + (desk.area() - ((book.area()*2) + (plate.area()*3) + (coaster.area()*3)))); } }