fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. #include <iostream>
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. int a, b, c;
  10. cout << "enter two no.s\n";
  11. cin >> a >> b;
  12. c = a + b;
  13. cout << a << "+" << b << "=" << c << "\n";
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
enter two no.s
158470816+21854=158492670