Difference between revisions of "CommissionCalculator"
From CompSciWiki
Line 1: | Line 1: | ||
{{1010PrAD|ProblemName=commissionCalculator Method | {{1010PrAD|ProblemName=commissionCalculator Method | ||
− | |Problem= | + | |Problem= Imagine you are a worker in the Human Resources department, responsible for calculating the commission each salesperson earns on his or her sales. Each sales person earns 7% commission on their total sales, and the total sales for each person are stored in an array, with the array index corresponding to each salesperson's employee number. |
+ | |||
|SideSection= | |SideSection= | ||
Revision as of 12:18, 6 April 2010
Back to the Program-A-Day homepage
ProblemImagine you are a worker in the Human Resources department, responsible for calculating the commission each salesperson earns on his or her sales. Each sales person earns 7% commission on their total sales, and the total sales for each person are stored in an array, with the array index corresponding to each salesperson's employee number. |
SideSectionTitle
| |
---|---|---|
SolutionSolution Description | ||
Code |