Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CALLING ALL PYTHON PROS!! I would love some help completing this program. I need to calculate the tip in percentages and the AZ tax which

CALLING ALL PYTHON PROS!! I would love some help completing this program. I need to calculate the tip in percentages and the AZ tax which is .056, then come up with a grand total. I have tried different codes but keep coming up with errors, so I'm starting at the base again. Any help would be greatly appreciated! THANK YOU!!!

image text in transcribed

# Input customer name name = input ("Enter customer's name: ") # Input cost of customer order appetizer = int(input ("Enter cost of appetizer: ")) entree = int(input ("Enter cost of entree: ")) dessert = int(input ("Enter cost of dessert: ")) drink = int(input ("Enter cost of drink: ")) print ("Thank you", name) #Calculating subtotal subTotal = int (appetizer + entree + dessert + drink) subTotal = print("Your subtotal is","${:,.2)". format (subTotal)), tip = int(input ("Please enter tip as percentage: ")) tipAmount = subTotal * (tip/100) AZ_Tax = .056 taxAmount = subTotal * AZ Tax Grand_Total = subtotal + AZ_Tax + tipAmount

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions