Question: java code . Write a program that calculates sales price of each article. The program will get the unit price of each article through the
java code . Write a program that calculates sales price of each article. The program will get the unit price of each article through the keyboard, and then calculate actual sales price. Actual sales price of each article is calculated as follows: Sales Price = (2 x unit price) + (unit price x sales tax) Sales tax for each item is fixed to 5%. Your program should keep asking user to input unit price. If the user does not have any more articles to calculate sales price, then allow user to input -1 to stop calculating. Once a user input -1, your program should be terminated. The numbers used in the program represent dollar amounts. Therefore, your program allows only two decimal places. Your output should be similar to the following:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
