Question: 2. program (code) for the following scenario: ABC Mall is a retail company selling various items. They need to calculate the commission for their


2. program (code) for the following scenario: ABC Mall is a retail

2. program (code) for the following scenario: ABC Mall is a retail company selling various items. They need to calculate the commission for their staff based on the rates below Less than $1,000 2.5% $1,000 4,999 5% $5,000 9,999 7.5% $10,000 14,999 10% $15,000 or more 12.5% The company also allow their staff to ask for advance payment. Write a program for the following: - Ask the staff to enter monthly sales - Ask the staff to enter the amount of advanced pay - Use monthly sales to calculate the commission. Calculate the staff 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

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!