The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 1 Day Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
A company pays its salespeople on a commission basis. The salespeople receive RM200 per week plus 9 percent of their gross sales for that week. For example, a salesperson who grosses RM5000 in sales in a week receives RM200 plus 9 percent of RM5000, or a overall total of RM650.Write a program (using an array) that determines how many of the salesperson earned salaries in each of the following ranges (assume that each salesperson’s salary is truncated to an integer amount). Your program will terminate when the input entered is negative.1. RM200 – RM2992. RM300 – RM3993. RM400 – RM4994. RM500 – RM5995. RM600 – RM6996. RM700 – RM7997. RM800 – RM8998. RM900 – RM9999. RM1000 and so on(Total / Jumlah : 20)
Â
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- Th-----------ank----------- Yo-----------u f-----------or -----------usi-----------ng -----------our----------- we-----------bsi-----------te -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill-----------