package shapes; public class WorkArea { public static void main(String[] args) { double DeskHeight = (24.0); System.out.println("Desk Height = " + DeskHeight); double DeskWidth = (36.0); System.out.println("Desk Width = " + DeskWidth); SRectangle desk = new SRectangle(DeskHeight, DeskWidth); double DeskArea = (desk.area()); System.out.println("Desk Area = " + DeskArea); double BookHeight = (8.5); System.out.println("Book Height = " + BookHeight); double BookWidth = (11); System.out.println("Book Width = " + BookWidth); SRectangle book = new SRectangle(BookHeight, BookWidth); book.expand(0, BookWidth); double BookArea = book.area(); System.out.println("Area of the Books = " + BookArea); double GlassRadius = (1.35); System.out.println("Glass Radius = " + GlassRadius); SCircle glass = new SCircle(GlassRadius); double GlassArea = glass.area(); System.out.println("Glass Area = " + GlassArea); SSquare coaster = glass.circumscribingSquare(); double CoasterArea = coaster.area(); System.out.println("Coaster Area = " + CoasterArea); double DinnerPlateRadius = (8); System.out.println("Dinner Plate Radius = " + DinnerPlateRadius); SCircle plate = new SCircle(DinnerPlateRadius); double DinnerPlateArea = plate.area(); System.out.println("Dinner Plate Area = " + DinnerPlateArea); double TotalOccupiedArea = ((BookArea) + (CoasterArea * 3.0) + (DinnerPlateArea * 3.0)); System.out.println("The Area of Everything on the Desk = " + TotalOccupiedArea); double AreaofClearDesk = (DeskArea - TotalOccupiedArea); System.out.println("The Result = " + AreaofClearDesk); } }