Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following table shows the commission rate that will be paid to salesman according to their monthly sales. Month Sales ( RM ) Commission Rate
The following table shows the commission rate that will be paid to salesman according to their monthly sales.
Month Sales RM
Commission Rate
Less than
More than
Write a complete program to calculate the commission and total salary for the salesman. The program should request a user to enter salesman name, basic salary, monthly sales and staff status either JJunior or S senior The total salary is based on their basic salary, commission and royalty if junior, if senior Then, display the salesman name, basic salary, commission and total salary in two decimal places.
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