#include
using std::cout;
using std::cin;
using std::endl;
int main()
{
int x;
int y;
int z;
int result;
cout << "Enter three integers: ";
cin >> x >> y >> z; // read three integers from user
result = x * y * z;
cout << "The product is " << result << endl;
return 0;
}
Enter three integers: 1 2
3
The product is 6