Declare a class with name cubicle the name stands for any


Declare a class with name Cubicle. The name stands for any rectangular prismatic solid body having three dimensions, i.e. length, width, and height. The program calculates the surface area and volume of cubic prisms. Two instances or objects are created by names cube1 and cube2.

Functions in Cubicle class include:

void set_sides( int , int, int );

int volume ();

int surface_area ();

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Declare a class with name cubicle the name stands for any
Reference No:- TGS0661931

Expected delivery within 24 Hours