Question: QUESTION 2 (Additional exercise) Write a program to compute the salespersons commission amount and monthly salary. At the end of each month, all salespersons receive

QUESTION 2 (Additional exercise) Write a program to compute the salespersons commission amount and monthly salary. At the end of each month, all salespersons receive a guaranteed base salary amount (RM 2500) and also earn an amount of commission based on the amount of sales they make. Declare a constant to represent the base salary amount. The program should prompt the user to enter the sales amount. The commission amount is calculated according to the table below. The program will display the commission amount and the monthly salary. Sales Amount (RM) Commission Rate (%) Less than 10000.00 5% 10000.00 14999.99 10% 15000.00 19999.99 12% 20000.00 and above 15% The program will display the commission amount and the monthly salary as shown in the sample output. QUESTION 2 (Additional exercise) Write a program to compute the salespersons commission

Sample Output: Output DD run: Enter sales amount: RM 19999.99 Commission Amount: RM 2400.00 Monthly Salary: RM 4900.00

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 Databases Questions!