Answered You can hire a professional tutor to get the answer.

QUESTION

try a program that calculates the total for a purchase at a wholesale store. Sample output: Wholesale store Calculator Price of item:99 Tax...

try a program that calculates the total for a purchase at a wholesale store.

Sample output:

Wholesale store Calculator

Price of item: 29.99

Tax percent: 8.75

Tax amount: 2.62

Total amount: 32.61

Specifications:

  • Input: item_price, tax_percent

The formula for calculating the tax amount is:

tax = item_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 maximum of two decimals places.
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question