Solution to write a program on 3D Shape that consists of length, width and height. Then implement … - Sikademy

Nov. 28, 2020

Archangel Macsika Sikademy Image

Archangel Macsika

write a program on 3D Shape that consists of length, width and height. Then implement two classes (Square and Rectangle) that 'inherit' length, width and height from Shape. Then write a main program that asks the user to enter the three parameters: length, width and height. Then have your program compute the area and volume of each shape.

Solution in C# Programming Language