Just as an output statement can contain many output operators, an input statement can contain many input operators. The following program picks up three values and assigns those three values to three variables.
#includemain ( ) { int height, width, length; cout << "Please type three integers." << endl; cin >> height >> width >> length; cout << "The volume of a " << height << " by " << width << " by " << length << " box car is " << height * width * length << endl; }