Quick actions

cmd+k|ctrl+k

Navigation

Languages

lab4(97)

Snippet info

Language

Cpp

Visibility

public

Author

bikhnevichk

Created

2018-11-04T21:33:18Z

Updated

2018-11-04T21:33:18Z

#include <iostream>
#include <cmath>
using namespace std;

int main() {
    int a ;
    cin >> a;
        if(a<7)
           cout << " вы дошкольник";
        else
            if(a<17)
               cout << " вы школьник";
        else
            if(a<50)
               cout << " вы работник";
        else 
            cout << " вы пенсионер";
    return 0;
}
INFO