Question: 1 0 . 3 Practice - Retail Price Calculator Create an application that lets the user enter an item's wholesale cost and its markup percentage.

10.3 Practice - Retail Price Calculator
Create an application that lets the user enter an item's wholesale cost and its markup percentage. It should then display the item's retail
price.
For example:
If an item's wholesale cost is $5.00 and its markup percentage is 100 percent, then the item's retail price is $10.00.
If an item's wholesale cost is $5.00 and its markup percentage is 50 percent, then the item's retail price is $7.50.
The program should include a method named calcRetail() that receives the wholesale cost and the markup percentage as arguments and
then returns the calculated retail price of the item.
Your main method should display the wholesale cost, markup percentage, and retail price.
Example Output: Inputs of: 5100
Markup: 100%
Cost: $5.00
Retail: $10.00
Note The output should be formatted so that the decimals align.
570312.4377004.00330y7
LAB
import java.util.Scanner;
public class PracticeBonus {
public static void main(String[] args){
Scanner console = new Scanner(
Systen.in);
/* Type your code here. */
}
}
1 0 . 3 Practice - Retail Price Calculator Create

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 Programming Questions!