Untitled

 avatar
unknown
plain_text
2 years ago
536 B
3
Indexable
#include <iostream>
using namespace std;
int main()
{
	int n;
	cin >> n;
	if (1<=n && n<=4)
	{
		cout << "few";
	}
	if (5<=n && n<=9)
	{
		cout << "several";
	}
	if (10 <= n && n<= 19) {
		cout << "pack";
	}
	if (20 <= n && n <= 49) {
		cout << "lots";
	}
	if (50 <= n && n<= 99) {
		cout << "horde";
	}
	if (n <= 100 && n <= 249) {

		cout << "trong";
	if (n <= 250 & n <= 499) {
		cout << "swarm";
		}
	if (n <= 500 && n <= 999) {
		cout << "zount";
	}
	if (n <= 1000) {
		cout << "legion";
	}
	}
}
Editor is loading...
Leave a Comment