Advertisement
DaniDori

заготовка под задачу про возраст

Oct 2nd, 2023
699
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main(){
  4.     int n;
  5.     cin >> n;
  6.     if (n % 100 > 15 and n % 100 < 21)
  7.         cout << "лет";
  8.     else
  9.         switch(n % 10) {
  10.         case 1:///
  11.         }
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement