Create a C++ class Cuboid with data members length, breadth, and height. Write necessary member functions for the following:i. void setvalues(float,float,float) to set values of data members.
ii. void getvalues( ) to display values of data members.
iii. float volume( ) to calculate and return the volume of cuboid.
iv. float surface_area( ) to calculate and return the surface area of cuboid.
(Use Inline function)
0 Comments