fork download
  1. // Сложение 2 целых чисел
  2. #include <iostream.h>
  3.  
  4. int main()
  5. {
  6. int integer1, integer2, sum;
  7.  
  8. cout << "Введите первое целое число\n";
  9. cin >> integer1;
  10.  
  11. cout << "Введите второе целое число\n";
  12. cin >> integer2;
  13.  
  14. sum = integer1 + integer2;
  15. cout << "Сумма равна " << sum << endl;
  16. return 0;
  17. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:2:22: fatal error: iostream.h: No such file or directory
compilation terminated.
stdout
Standard output is empty