/************************************************************************ * * * Program: ProductOfThreeInts.cpp * * * * Author: Robb T. Koether * * * * Date: Sep 9, 2003 * * * * Purpose: This program will multiply three integers * * * ************************************************************************/ // Header files #include #include using namespace std; /************************************************************************ * * * Function: main * * * * Purpose: To multiply three integers and print the result * * * ************************************************************************/ int main() { // Get three integers from the user cout << "Enter an integer: "; int first; cin >> first; cout << "Enter another integer: "; int second; cin >> second; cout << "Enter another integer: "; int third; cin >> third; // Multiply the three integers int product = first * second * third; // Print the result cout << "The product is " << product << endl; return 0; }