43.4k views
5 votes
Write a program that computes how much each person in a group needs to pay (after tax and tip) when splitting the bill equally. Specifically, your program should: 1. Ask a user for the number of people in the party 2. Ask a user for the total bill amount before tax and tip 3. Output the amount due per person after tax and tip Assume that tax is 7.25%, and tip is 20% (tip is before tax).

User Kamcknig
by
4.7k points

1 Answer

6 votes
Tax is an incredibly weird thing but I wish I could help but I can’t
User Dangelsaurus
by
4.3k points