Question: Write a JAVA program. J Mall is a clothing retail company. They need to calculate the commission for staff based on below rates less than
Write a JAVA program.
J Mall is a clothing retail company. They need to calculate the commission for staff based on below rates
less than $1000 5%
$1,000-4,999 10%
$5,000-7,999 12%
$8,000-14,999 15%
$15,000 or more 16% They also allow the staff to ask for advance payment, Write a program that performs the following steps:
- Ask the staff to enter monthly sales.
- Ask the staff to enter the amount of advanced pay
- Use the monthly sales to calculate the commission
- Calculate the staffs pay by subtracting the advanced pay from the total commission.
- If the amount is negative, inform the staff they cannot ask for that much advance pay.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
