Question: Please make sure to follow the steps on the question, thanks. Retail Price Calculator Write a program that prompts the user for the wholesale price

Please make sure to follow the steps on the question, thanks.
Retail Price Calculator Write a program that prompts the user for the wholesale price and markup percentage of an item. The program should invoke a method to calculate the retail price of the item. You will need: 1. A scanner object to read the wholesale price and the markup percentage (the percentage should be entered in a percent format like 25%. Note: this would need to be converted to decimal torcalculations) 2 Variables to store: o The wholesale price (as a double) o The markup (as a double - makes it easier to convert to calculations. Tip: watch out for cases of integer division!) 3 Input validation for the wholesale price and the markup percentage. Both must be greater than 0. A NumberFormat object to display the retail price in currency format and the percentage in percent format. 5. A method that: o Accepts 2 parameters the wholesale price and markup percentage o Calculates the retail price o Returns the retail price value A sample of the output is shown below: Enter the item's wholesale cost: -90 Enter the item's wholesale cost: 90 Enter the item's markup percentage (as a %):-50 Enter the item's markup percentage (as a %): 50 The item's retail price (at a 50% markup) is $135.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
