Белоусов АТ-201 ПР3 (часть 2)

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <cmath> using namespace std; int main() { int a ; cout << "Введите целое число копеек (число от 1 до 99) : "; cin >> a; if (a >= 11 && a <=19) { cout << a << " копеек." << endl; } else if ((a % 10 == 4) || (a % 10 == 2) || (a % 10 == 3)) cout << a << " копейки." << endl; else if (a % 10 == 1) cout << a << " копейка." << endl; else cout << a << " копеек." << endl; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines