Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main() {
- #ifndef ONLINE_JUDGE
- freopen("input.txt", "r", stdin);
- freopen("output.txt", "w", stdout);
- #endif
- int savings;
- cin>>savings;
- if(savings>5000) {
- if(savings>10000) {
- cout<<"Aroana";
- } else {
- cout<<"Oscar";
- }
- } else if(savings>2000) {
- cout<<"Guppy\n";
- } else {
- cout<<"Education";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement