Question: Topic 4 - Assignment 9 USA tip Write a program which asks the total amount for a restaurant bill. Then it asks for the number
Topic 4 - Assignment 9 USA tip Write a program which asks the total amount for a restaurant bill. Then it asks for the number of persons on the table (the number of those that must pay). Then the program calculates the amount that must pay each person (total amount divided by number of persons) rounded to 1 dollar taking into account that the typical tip for USA is 20% and that the minimum tip is 1 dollar. Please, submit code and output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
