Question: Using Python use an if/elif/else structure to write a program that can split the bill between friends and calculate the tip. Display a welcome message
Using Python use an if/elif/else structure to write a program that can split the bill between friends and calculate the tip.
Display a welcome message to the user explaining what this program does for the user.
Then, Prompt the user to enter his/her name
Prompt the user to enter the final bill amount.
Prompt the user to enter the number of people splitting that bill.
Perform the math operations and display the following information to the user:
Hello
Final Bill Amount = $
Final Bill Amount + 15% tip = $
Final Bill Amount + 20% tip = $
Number of people splitting the bill =
Each person's share of the actual final bill without including the tip = $
Each person's share with 15% tip included = $
Each person's share with 20% tip included = $
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
