Untitled
unknown
plain_text
2 years ago
452 B
3
Indexable
#include <iostream> using namespace std; int main() { int n; cin >> n; if (n % 10 == 1 && n!=11 ) { cout << n << " " << "korova"; return 0; } else if (n % 10 < 5 && n % 10 != 0) { if (n < 11 || n>14) { cout << n << " " << "korovy"; } else { cout << n << " " << "korov"; } } else { cout << n << " " << "korov"; } }
Editor is loading...