12345678910111213141516171819
#include <iostream> int main(int argc, char* argv[]) { int a, b; std::cout << "First number: "; std::cin >> a; std::cout << "Second number: "; std::cin >> b; std::cout << "Result: " << (a+b) << std::endl; std::cin.get(); std::cout << "Press <ENTER> to continue..."; std::cin.get(); return 0; }