Untitled
unknown
plain_text
3 years ago
371 B
3
Indexable
#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; } }
Editor is loading...