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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started