Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- int a,b,c,d,e;
- cin >> a >> b >> c >> d >> e;
- if(d==6||d==7||e==1){
- if(e==1&&(d==6||d==7)){
- cout << "unhappy" << endl;
- return 0;
- }
- cout << "happy" << endl;
- return 0;
- }
- cout << "unhappy" << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement