Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main () {
- CRectangle rect; //Make a CRectangle object called rect
- rect.set_sides (12,24); //Use one of its methods for input
- cout << "area: " << rect.area () << "\n"; //Use another method for output.
- return 0;
Add Comment
Please, Sign In to add comment