CS1 Standard Demo Page

The following text was written to the standard output stream when the WorkArea.java program was executed from IntelliJ.

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=39507:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/dreitz/IdeaProjects/CS1/out/production/CS1:/home/dreitz/Desktop/SimplePainter.jar:/home/dreitz/Desktop/SimpleComposer.jar:/home/dreitz/Desktop/jfugue-4.0.3-with-musicxml.jar shapes.WorkArea
area of desk = 864.0
area of 2 books = 187.0
area of 3 coasters = 21.870000000000005
area of 3 plates = 603.1857894892403
area of the glass = 17.176657833502198
Total area of the objects taking up space = 812.0557894892403
Area of the free space in the desk 51.94421051075972

Process finished with exit code 0