Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/tip/
- Write a program that takes two values from the keyboard, the first one is the amount of a bill, the second one is the percentage that is used to compute the tip to be added to the bill. There is a catch though: we want to make sure that the percentage is between 10% and 100%. If any other value is entered, the request percentage is repeated, until a valid value appears. Once that happened, the program outputs the tip amound and terminates.
- Download: http://solutionzip.com/downloads/tip/
Add Comment
Please, Sign In to add comment