Question: JAVA CODING For a company, write a program that asks the user the name of an item, its retail price, its wholesale price and prints
JAVA CODING
For a company, write a program that asks the user the name of an item, its retail price, its wholesale price and prints the profit made on that item, a sale price, and the profit made when sale price is used. The logic that will use assignments to first calculate the profit, then calculate the sale price, and finally calculate the profit when the sale price is used. Profit is defined as the retail price minus the whole sale price. The sale price is 25 percent from the retail price. The sale profit is defined as the sale price minus the whole sale price. Perform the appropriate calculations as part of your assignment statements.
Here is an output sample :
Enter The Item Name :
Jacket
Enter The Retail Price :
$90
Enter The Whole Sale Price :
$50
Profit:
$40
Sale Price :
$67.5
Sale
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
