Tip, Tax, and Total Write a program that calculates the total amount of a meal purchased at a
Tip, Tax, and Total
Write a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of an 18 percent tip(use 0.18) and 7 percent sales tax (use 0.07). Display each of these amounts and the total.
USE THIS
#This program calculates profits
#Greets the user
print("Welcome!")
#prompts the users for the name of the Sales Agent
SalesAgent = input("Enter the name of the Sales Agent: ")
#prompts the user for the total sales
TotalSales =float(input("What is the total sales: $"))
#notes the commission rate
comrate = 0.325
#computes the commission based on Total Sales
Commission = (TotalSales*comrate)
#Final output
print("Summary")
print(SalesAgent)
print("TotalSales: $", format(TotalSales, ' .2f'))
print("Commission: $", format(Commission, ' .2f'))
ALSO USE THIS WEBSITE
https://replit.com/
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
