Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
371 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
    int n;
    cin >> n;
    if (n % 10 == 1) {
        cout << n << " " << "korova";
    }
    if (n % 10 == 2 || 3 ||4) {
        cout << n << " " << "korovy";
        return 0;
    }
    if (n % 10 == 5 || 6 || 7 || 8 || 9 ) {
        cout << n << " " << "korov";
        return 0;
    }


}