Question: Python IDLE Create a program that calculates the total for a purchase at a bookstore. Sample output: Bookstore Calculator Price of book: 29.99 Tax percent:

Python IDLE Create a program that calculates the total for a purchase at a bookstore. Sample output:

Bookstore Calculator Price of book: 29.99

Tax percent: 8.75

Tax amount: 2.63

Total amount: 32.61

Specifications: Input: book_price, tax_percent

The formula for calculating the tax amount is: tax = book_price * (tax_percent / 100) The program should accept decimal entries like 29.99 Assume the user will enter valid data. The program should round the results to a maximum of two decimal places.

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!