fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int first, second;
  6.  
  7.  
  8. cin >> first >> second;
  9.  
  10.  
  11. if ((first >= 1 && first <= 100000) && (second >= 1 && second <= 100000)) {
  12.  
  13. cout << first << " + " << second << " = " << first + second << endl;
  14. cout << first << " * " << second << " = " << first * second << endl;
  15. cout << first << " - " << second << " = " << first - second << endl;
  16. } else {
  17.  
  18. return 0;
  19. }
  20.  
  21. return 0;
  22. }
  23.  
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
Standard output is empty