CS1 Standard Demo Page

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

square = 
area of a square = 160000.0
perimeter of a square = 1600.0
diagonal of a square = 565.685424949238
disk = 
area of disk = 125663.70614359173
perimeter of disk = 1256.6370614359173
diamond = 
area of diamond = 80000.0