Write a complete program with an interface Shape declaring area() and name(), and two classes implementing it: Square and Rect.
Read a square side, then a rectangle width and height. Put both shapes in one Shape[] array, print name area for each, then print the total area.
For the input 3 2 5:
Square 9.0
Rect 10.0
19.0