Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Robots 0.63 KB | None | 0 0
  1.  
  2. #include <iostream>
  3.  
  4.  
  5. using namespace std;
  6.  
  7.  
  8. int main()
  9. {
  10.  int  x;
  11.     cout << "2 \n";
  12.     cin >> x;
  13.     int y =  (x^2)*7 -(9%2) + (3*5) ;
  14.     cout << y;
  15.     cout << "\n";
  16.  
  17.  
  18.     if (y < 100)
  19.         cout << "low";
  20.     else
  21.         cout << "high";
  22.  
  23.  
  24.     return 0;
  25. }
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. #include <iostream>
  60.  
  61.  
  62. using namespace std;
  63.  
  64.  
  65. int main()
  66. {
  67.  int  x;
  68.     cout << "2 \n";
  69.     cin >> x;
  70.     int y =  (x^2)*7 -(9%2) + (3*5) ;
  71.     cout << y;
  72.     cout << "\n";
  73.  
  74.  
  75.     if (y < 100)
  76.         cout << "low";
  77.     else
  78.         cout << "high";
  79.  
  80.  
  81.     return 0;
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement