Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Python program that does the following: Asks the user to enter the order. If the order is greater than $1000, there is 17%

image text in transcribed
Write a Python program that does the following: Asks the user to enter the order. If the order is greater than $1000, there is 17% discount, if the order is greater than $800 and less or equal to $1000, the discount is 13%, if the order is less or equal to $ 800 but greater than $ 500, the discount is 9%, otherwise the discount is 5%. The tax percent is 13%. The program calculates the total invoice of the customer after the appropriate discount and the tax amount are applied. The program prints out the customer name (entered by the user), the discounted amount, the tax amount and the total invoice. The program asks if the user wants to continue using the application with a new order (y)

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

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

=+ What are the information and consultation requirements?

Answered: 1 week ago

Question

=+ Should the MNE belong (why, why not)?

Answered: 1 week ago