XYZ Sdn. Bhd. is a renowned pharmaceutical company that pays its salespeople on a commission basis. The salespeople rece
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
XYZ Sdn. Bhd. is a renowned pharmaceutical company that pays its salespeople on a commission basis. The salespeople rece
company that pays its salespeople on a commission basis. The salespeople receive RM 200 per week along with 9% of their gross sales for that week. For example, a salesperson who sells RM 5000 worth of medicines in a week receives RM 200 plus 9% of RM 5000, or a total of RM 650. Develop a C++ program that will input each salesperson's gross sales for the last week and calculate and display that salesperson's earnings. Show that your program processes one salesperson's figures at a time.
XYZ Sdn. Bhd. is a renowned pharmaceutical