Dutch pay calculator including tips. This calculator divides total bill amount by number of people.
- Input total amount of the bill. (except tip)
- Input how many people will share the bill.
- Input how many percent of tip would you like to give.
- Get individual portions and pay!
Using while loop and conditionals, this program evaluate correctness of user's input. Until the user input valid answer, this program continuously ask to input valid answers. This function prevents users from facing unexpected errors.
When the user input total bill, tip is added and the total amount is divided by number of bill sharing members.