avatar
Untitled

Guest 10 4th Nov, 2019

MARKUP 0.56 KB
                                           
                         #include<iostream>
#include<cmath>
using namespace std;
double a,b;
int main(){
    cin>>a>>b;
     if(a>=21 && b==3 || b==4 || b==5 || a<=20 && b==6)
        cout<<"wiosna";
     else if(a>=21 && b==6 || b==7 || b==8 || a<=20 && b==9)
        cout<<"lato";
     else if(a>=21 && b==9 || b==10 || b==11 || b==12 && a<=20)
        cout<<"jesien";
     else
        cout<<"zima";

return 0;
}
                      
                                       
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes