Question: Problem: You have been hired to write a program that prompts the user for the cost of food and the cost of drinks consumed at

Problem: You have been hired to write a program that prompts the user for the cost of food and the cost of drinks consumed at a restaurant (2 separate questions), and produces a bill detailing subtotal, tax, tip, and total amounts.
The tax is 7% of the total meal (food and drinks) cost. The tip should be 20% of the subtotal before adding the tax (or you can ask the user for tip percent or show 2 or 3 options for tip values and totals).
Instructions
1. Start by writing an algorithm to solve the problem. You will save this as a file called mealcost_algorithm.py before writing any python code.
2. Next you will use the algorithm your wrote as the comments for the program you will write in the next step. Be sure to space the comments out and write your code around them. Save this file as mealcost_program.
3. Make sure to ask the user for their name and include their name in the questions you ask about food and drink costs, and maybe the outro.
4.Your program must use a constant for the tax value of .07 (and tips percent(s) if you are not asking the user).
= Include a fun title/intro, add some designs using simple keyboard characters (like a line of *'s or -'s), add some pauses using sleep
= Make the output user friendly and make sure it looks like money using f formatting and the :,.2f we earned in class.
= Include blank lines and tabs in your output.
= Include one more unique thing in your program that make your code individual

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!