fork download
  1. /************************\
  2. |* In the name of God *|
  3. |* Code 3. 1. Irysc.com *|
  4. |* IROI.rozblog.com *|
  5. \************************/
  6.  
  7. #include <iostream>
  8.  
  9. using namespace std;
  10.  
  11. int main() {
  12. int a = 5, b = 3;
  13. cout << a << " + " << b << " = " << a + b << endl;
  14. cout << a << " * " << b << " = " << a * b << endl;
  15. cout << a << " / " << b << " = " << a / b << endl;
  16. cout << a << " - " << b << " = " << a - b << endl;
  17. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
5 + 3 = 8
5 * 3 = 15
5 / 3 = 1
5 - 3 = 2