Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created October 24, 2020 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/ed49bfae59c7d1c0b22c0f8f18470a31 to your computer and use it in GitHub Desktop.
Save amankharwal/ed49bfae59c7d1c0b22c0f8f18470a31 to your computer and use it in GitHub Desktop.
#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