Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- bool isdone = false;
- string input = "Null";
- int money = 0;
- while(!isdone){
- cout << "slect path long med short ";
- cin >> input;
- if (input == "long")
- {
- isdone = true;
- money++;
- cout << "you know have " << money << endl;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement