Question: plz help 2. Write a Java application that will compute the price of an item in 3 different states. Your application will: ask the user

 plz help 2. Write a Java application that will compute theplz help

2. Write a Java application that will compute the price of an item in 3 different states. Your application will: ask the user for 2 items by name and their prices (use the name of the item when requesting the price) calculate the sales tax in Maryland (6%) on each item calculate the sales tax in California(7.25%) on each item calculate the sales tax in Wyoming (4%) on each item calculate the total amount for each item in each of the 3 states calculate the total due for both items in each of the 3 states display all input values and the calculated values in table form A sample run of your application is below (user input is in bold): What are you buying? leather jacket What is the price of the leather jacket? 189.99 What is the second item you are buying? book What is the price of the book? 39.99 Sample output is below: Leather jacket Maryland California Wyoming Price: Tax: 189.99 11.40 189.99 13.77 189.99 7.60 Book Maryland Wyoming California 39.99 Price: 39.99 39.99

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!