fork download
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a, b, c;
  6. cout << "Enter two numbers: ";
  7. cin >> a >> b;
  8. c = a + b;
  9. cout << a << " + " << b << " = " << c << endl;
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5292KB
stdin
Standard input is empty
stdout
Enter two numbers: 347955888 + 22002 = 347977890