Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 2:
- {
- cout << "You have chosen Flat White. Please insert 6 PLN:" << endl;
- do{
- cin >> PLN || EURO || US;
- totalPLN=6-PLN;
- cout << "Please insert " << totalPLN << " more." << "You have entered: " << totalPLN << " so far." << endl;
- if(totalPLN==6)
- {
- cout << "Thanks. Here's your coffee." << endl;
- }
- }while (totalPLN<6);
- }
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement