#include <iostream.h>
main() {
int height, width, length;
cout << "Please type three integers:" << endl;
cin >> height;
cin >> width;
cin >> length;
cout << "The volume of the box is " <<
height * width * length << endl;
}
{cleon:guzdial:240} g++ input.cc -o input
{cleon:guzdial:241} input
Please type three integers:
12 456
789 The volume of the box is 4317408
Last modified at 8/5/97; 1:33:12 PM
Other Links of Interest
College of Computing | EduTech Institute | GVU Center
Mark Guzdial | Papers | CS 2390 Spring '97 Home Page | STABLE | MMC-CaMILE