Advertisement
akosiraff

Sales Commission CPP

Oct 21st, 2013
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/sales-commission-cpp/
  3.  
  4. Assume a salesperson is paid a variable-rate commission depending on the number of sales made for the week. The quota is 30 sales.
  5. If the persons individually make fewer than 10 sales, they are paid $50/sale. If they make 10 to 30 sales, they are paid $100/sale. If they exceed the quota, they are paid $150/sale. If they make fewer than 5 sales or more than 60 sales, it is considered to be an input error and no commission is paid.
  6. Write a program to input a salesperson’s name and number of sales made. Write a function that will calculate the commission. The function should accept number of sales and return amount of commission.
  7.  
  8. Download: http://solutionzip.com/downloads/sales-commission-cpp/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement