Question: Write a PYTHON program to calculate the bill amount for an item given its quantity sold, value, discount, and tax. The user is to enter

Write a PYTHON program to calculate the bill amount for an item given its quantity sold, value, discount, and tax. The user is to enter these : Enter the quantity of item sold : Enter the value of item : Enter the the discount percentage : Enter the tax :

Formulaes: amountt = quantity X value discount amount = amount X discount/100 subtotal = amount discount amount tax amount = subtotal X tax/100 total amount = subtotal + tax amount

The output should look like this: >>> Enter the quantity of item sold : 80 Enter the value of item : 100 Enter the the discount percentage : 10 Enter the tax : 14 *********BILL********** Quantity sold : 80.00 Price per item : 100.00 ----------------- Amount : 8,000.00 Discount : - 800.00 ----------------- Discounted Total : 7,200.00 Tax : + 1,008.00 ----------------- Total amount to be paid $ 8,208.00 >>>

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!