fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int a, b, suma;
  7. cout << "podaj liczbe: ";
  8. cin >> a;
  9. cout << "podaj liczbe: ";
  10. cin >> b;
  11. suma = a + b;
  12. cout << "suma wynosi: ";
  13. return 0;
  14. }
Success #stdin #stdout 0s 5320KB
stdin
3
6
stdout
podaj liczbe: podaj liczbe: suma wynosi: