This is a simple split bill calculator. The idea is based on my personal experience, when I'm hanging out with my friends. One person will pay the bill first, later on we split the bill and pay our portion.
Language: Python
- First we input the number of people
- Then input the tax and service charge percentage (only input the number)
- This is where the loop process started. Start by entering the first person name. Then enter what kind of meal / drink they have, and how much it's price; this can be done more than one meal.
- To end the loop process, simply input name or meal/drink as "done".
- Finally, program will calculate how much bill each person has, included taxes.
To check how the program works, you can click below link for the video demonstration: https://drive.google.com/file/d/1fTMQgXgC6FptrxZcVQ8Dp7LZh-piwTBq/view?usp=sharing
- In my country, some restaurants put service charge around 5 - 7.5%. This is calculated after (total + VAT) amount.
- Because the program only works for personal meal/drink, if any shared meal, then you have to put the average amount into the program.