Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that displays the commission of a salesman using a function. Def

ID: 3627011 • Letter: W

Question


Write a program that displays the commission of a salesman using a function.
Define a function called CalcCommision.Your program should prompt the user to enter the sales amount in the Main module. Then the function CalcCommision is called by passing the sales to calculate the commission and return the value to the main module. The Main Module will display the sales and the commission.

Procedure or Details:
The following table is used to calculate the commission:

Sale Amount Commission
---------------- ---------------------------
0 – 999 3.5%
1000 – 1999 4.0%
2000 – 2999 4.5%
3000 or above 5.0%

Explanation / Answer

Dear friend here is the program u asked for PLEASE RATE #include double CalcCommision (double &sale) { double commission; if(sale
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote