fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. cout<< "hello world"<<endl;
  6. cout<< "dzisiaj jest czwartek"<<endl;
  7. cout<< 34 + 2 << endl;
  8. cout<<2 + 34 <<endl;
  9. cout<<17 - 5 << endl;
  10. cout<<5 - 17 <<endl;
  11. cout<<4 * 5 << endl;
  12. cout<<5 * 4 << endl;
  13. cout<< 34 / 2 << endl;
  14. cout<< 7 / 3 << endl;
  15. cout<< 19 % 2 << endl;
  16. cout<< 14 % 3 << endl;
  17. cout<< 15 % 3 << endl;
  18. return 0;
  19. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
hello world
dzisiaj jest czwartek
36
36
12
-12
20
20
17
2
1
2
0