<=Back
A super class named object has the following properties:
• Length and width as data member
• Constructor
Write a C++ program to implement a sub class for the super class.
The sub class ha height and a method used to accept the value of height, determine and output the volume. The program should initialize length and width as 7.0 and 5.0 respectively
 Viewed: 575 times
Share in: