fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. cout<<1+1<<endl;
  7. cout<<10-5<<endl;
  8. cout<<3*7<<endl;
  9. cout<<13/3<<endl;
  10. cout<<13.0/3<<endl;
  11. cout<<4.33333*3<<endl;
  12. cout<<10%6<<endl;
  13. cout<<(2+4)*3%7<<endl;
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5308KB
stdin
Standard input is empty
stdout
2
5
21
4
4.33333
13
4
4