I need a sample of a statement to find the volume of a box where V=abc. Would this work.
1 2 3 4 5 6 7 8 9 10 11 12
Put the code you need help with here. int L,W,H,volume;
L=10;
W=10;
H=10;
cout << "Give me the volume of a box. \n";
cout << L << endl;
cout << W << endl;
cout << H << endl;
volume = L*W*H;
cout << "Volume =" << volume << endl;
just to add a note I'm a beginning student in a C++ course so I'm just learning data type, functions, operators etc...