Question: Write a program that includes two functions. The first function should ask a salesperson for the dollar value of daily sales and then return this
Write a program that includes two functions. The first function should ask a salesperson for the dollar value of daily sales and then return this figure to the main program. The second function should calculate the salesperson's commission based on the following rates:
Sales..............................Commission
0-999.....................................3%
1,000-2,999..........................3.5%
3,000-up...............................4.5%
The dollar value of the calculated commission should be returned to the main program, which then displays it.
Step by Step Solution
3.41 Rating (154 Votes )
There are 3 Steps involved in it
To tackle the problem of creating a program with two functions for calculating a salespersons commis... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
60999b67e68e9_29849.pdf
180 KBs PDF File
60999b67e68e9_29849.docx
120 KBs Word File
