Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
536 B
0
Indexable
Never
#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";
	}
	}
}
Leave a Comment