akosiraff

Download Tip

Feb 2nd, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/tip/
  3. 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.
  4. Download: http://solutionzip.com/downloads/tip/
Add Comment
Please, Sign In to add comment