Question: Write a program that displays the commission of a salesman using two functions.
The first function is called to prompt and get sales amount from user and the sale amount is returned to the main module.
The second function is called by passing sales amount to calculate the commission and return the value to the main module. The Main Module will display the sales and the commission. It should also accumulate the sales and commission.
When the program is terminated, it should display the total sales and total commission paid. Edit
TutorTeddy.com & Boston Predictive Analytics
[ Email your Statistics or Math problems to firstname.lastname@example.org (camera phone photos are OK) ]
Boston Office (Near MIT/Kendall 'T'):
Cambridge Innovation Center,
One Broadway, 14th Floor,
Cambridge, MA 02142,
Dallas Office (Near Galleria):
15950 Dallas Parkway,
Dallas, TX 75248,