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
Get step-by-step solutions from verified subject matter experts
