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.
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 $ and its markup percentage is percent, then the item's retail price is $
If an item's wholesale cost is $ and its markup percentage is percent, then the item's retail price is $
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:
Markup:
Cost: $
Retail: $
Note The output should be formatted so that the decimals align.
LAB
import java.util.Scanner;
public class PracticeBonus
public static void mainString args
Scanner console new Scanner
Systen.in;
Type your code here.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
