Zebra0.com

MCC++ Project: Cube Class

C++ Project: Cube Class

A Cube Class

The Rectangle class has 2 dimensions: length and width. The length and width are private so that we can guarantee that the dimensions are always positive.

Using the Rectangle class as a model, create a Cube class that has 3 dimensions: length, width and height.

Note: This is actually a cuboid, a cube has all dimensions the same.

Submit one Word document (in Blackboard under Assignments) with all of the following as part of this assignment:


This web site, and all pages therein, are the sole property and responsibility of Zebra0.com.
It is not endorsed, sponsored, or provided by or on behalf of Montgomery College.