CS1 Standard Demo Page

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

square = 400.0 
area of square = 160000.0
perimeter of square = 1600.0
diagonal of square = 565.685424949238
disk = 200.0
diamond = 282.842712474619
diamond area = 80000.0