Question: This is used with Python The second picture is an example of what it's supposed to look like. Lab Assignment 2: Console Input and Output

This is used with PythonThis is used with PythonThe second picture is an example of whatThe second picture is an example of what it's supposed to look like.it's supposed to look like. Lab Assignment 2: Console Input and Output

Lab Assignment 2: Console Input and Output - Due COP1000C INTRO CMP PRG ONLINE 668774 1. Create pseudocode, code and compile the following program. Save the program as restaurant.py. Write a program that prompts the user for the meal cost of a restaurant bill. Calculate the tax amount as 7% of the meal cost. Calculate the tip as 20% of the meal cost. Calculate the total bill (meal cost, tip and tax). Display the meal cost, tax amount, tip amount, and total cost. 2. Upload your pseudocode and your source code (.py file) >>> main() WELCOME TO THE RESTAURANT CHECK GENERATOR... Please enter the cost of the meal: $20.00 >>> main() WELCOME TO THE RESTAURANT CHECK GENERATOR... Please enter the cost of the meal: $20.00 *** *** Meal cost: $20.00 Tax: $1.40 Tip: $4.00 Total Cost: $25.40 >>> main() WELCOME TO THE RESTAURANT CHECK GENERATOR... Please enter the cost of the meal: $36.50 *** Meal cost: Tax: Tip: Total Cost: $36.50 $2.56 $7.30 $ 46.36

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!