# include int main ( ) // // ADD_INTS.CPP prompts the user to enter two integers. // The program adds them and prints the result. // // This program is a first example of the use of numeric // variables. // // It also shows that if you omit the statement "using namespace std;" // then you must use the "std::" prefix in front of the names of // objects created by the include files. // { int number1; int number2; int number3; std::cout << "Enter first integer: "; std::cin >> number1; std::cout << "Enter second integer: "; std::cin >> number2; number3 = number1 + number2; std::cout << "The sum of " << number1 << " and " << number2 << " is " << number3 << "\n"; return 0; }