package shapes; import shapes.SCircle; import shapes.SRectangle; import shapes.SSquare; public class WorkArea { public static void main(String[] args) { int deskHeight = 24; int deskwigth = 60; SRectangle Desk = new SRectangle(deskHeight, deskwigth); System.out.println("Area of Desk = " + Desk.area()); int bookHeight = 7; int bookWeight = 10; SRectangle Book = new SRectangle(bookHeight, bookWeight); System.out.println("Area of two Book = " + 2 * Book.area()); double glassradius = 1.40; SCircle Glass = new SCircle(glassradius); System.out.println("Area of three Glass = " + 3 * Glass.area()); SSquare Coasters = Glass.circumscribingSquare(); System.out.println("Area of three Coasters = " + 3 * Coasters.area()); int plateradius = 7; SCircle Plate = new SCircle(plateradius); System.out.println("Area of four Plate = " + 4 * Plate.area()); double Objects = (2 * Book.area() + 3 * Coasters.area() + 4 * Plate.area()); System.out.println(("Area occupied by objects on the Desk = " + Objects)); double WorkArea = (Desk.area() - Objects); System.out.println("Area not occupied on the Desk = " + WorkArea); } }