b) Write the definition for a class called “cuboidSolid” that has length, breadth, height, and mass has float data members. The class has a following member functions. Setters and getters for each of the data members. float getVolume() that returns the volume of the metal float getSurfaceArea() that returns the surface area float getDensity() that returns the density Write a main program to illustrate the use of the above class.
Write the definition for a class called cuboidSolid that has length, breadth, height, and mass has float data members. CPP / Assignment 9 / Set A