SHARE
TWEET

Untitled

a guest Nov 17th, 2019 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.     int number, last, first;
  6.     cout << " enter 3 numbers:" << endl;
  7.     cin >> last >> first >> number;
  8.     if ((number <=first) && (number>= last)) {
  9.         cout << "between"<<endl;
  10.  
  11.     }
  12.     if ((number > first )||(number<last)){
  13.         if (number > first) {
  14.             cout << "bigger" << endl;
  15.  
  16.         }
  17.         else {
  18.  
  19.  
  20.             cout << "smaller" << endl;
  21.         }
  22.    
  23.     }
  24. //  system("pause");
  25.     return 0;
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top