Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
328 B
1
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
	int a;
	cin >> a;
	if (a % 10 == 1 && a != 11)
	{
		cout << a << " " << "korova";
	}
	else if((a%10 == 2 && a!= 12)||(a % 10 == 3 && a != 13)||(a % 10 == 4 && a != 14))
	{
		cout << a << " " << "korovy";
	}
	else
	{
		cout << a << " " << "korov";
	}
}