Question: using blueJ (java) 1. Financial application: calculate tax Write a program that reads the tax rate and sticker price of an item. It then calculates

 using blueJ (java) 1. Financial application: calculate tax Write a program
using blueJ (java)

1. Financial application: calculate tax Write a program that reads the tax rate and sticker price of an item. It then calculates the total amount that the item will cost. For example, in NJ the sales tax is 6.625%. An item that costs $120 on the sticker will then cost $127.50. If the user enters any values less than 0, output that they didn't enter a correct value and end the program. Make sure all output is rounded to the nearest hundredth. Here is a sample run; the bold represents the input from the user: Enter the sticker price: 120 Tax Rate in %: 6.875 The tax is $7.50 and the total is $127.50

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!