fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. setlocale (LC_ALL, "RUSSIAN");
  7. cout << "close this program beach" << endl;
  8. int a=148;
  9. int b=145;
  10. int c=a+b;
  11. cout << c << endl;
  12. int d=1;
  13. int f=c+d;
  14. cout << f << endl;
  15. int h = 4;
  16. if(h == 5)
  17. {
  18. cout << "Переменная h равна пяти" << endl;
  19. }
  20. else
  21. {
  22. cout << "Переменная h не равна пяти" << endl;
  23. }
  24. return 0;
  25. }
Success #stdin #stdout 0s 17704KB
stdin
Standard input is empty
stdout
close this program beach
293
294
Переменная h не равна пяти