package shapes; import shapes.SCircle; import shapes.SRectangle; import shapes.SSquare; public class WorkArea { public static void main(String[] args) { SRectangle Desk = new SRectangle(24,60); System.out.println("Area of Desk = " + Desk.area()); SRectangle Book = new SRectangle(7,10); 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 radiusofplate = 7; SCircle Plate = new SCircle(radiusofplate); 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); } }