-
-
Save amankharwal/ed49bfae59c7d1c0b22c0f8f18470a31 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
using namespace std; | |
int main(){ | |
int savings; | |
cout<<"Enter Your Savings :"; | |
cin>>savings; | |
if (savings>5000){ | |
if (savings>10000){ | |
cout<<"Roadtrip with Neha"<<endl; | |
} | |
else { | |
cout<<"Shopping with Neha"<<endl; | |
} | |
}else if (savings>2000){ | |
cout<<"Date with Rashmi"<<endl; | |
} | |
else { | |
cout<<"Party with Friends"<<endl; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment