Advertisement
rengetsu

Timus_1785

Jul 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. //Timus 1785
  2. #include <iostream>
  3. using namespace std;
  4. int main()
  5. {
  6.     int n;
  7.     cin >> n;
  8.     if(n>=1 && n<=4){cout<<"few";}
  9.     else if(n>=5 && n<=9){cout<<"several";}
  10.     else if(n>=10 && n<=19){cout<<"pack";}
  11.     else if(n>=20 && n<=49){cout<<"lots";}
  12.     else if(n>=50 && n<=99){cout<<"horde";}
  13.     else if(n>=100 && n<=249){cout<<"throng";}
  14.     else if(n>=250 && n<=499){cout<<"swarm";}
  15.     else if(n>=500 && n<=999){cout<<"zounds";}
  16.     else{cout<<"legion";}
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement