Quick actions

cmd+k|ctrl+k

Navigation

Languages

lab4 

Snippet info

Language

Cpp

Visibility

public

Author

enifmankalinan

Created

2018-11-25T21:31:17Z

Updated

2018-11-26T21:19:35Z

#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