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: | 408 Weeks Ago, 5 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
The payroll manager at Kenton Incorporated wants a program that allows him to enter an unknown number of payroll amounts for each of three stores: Store 1, Store 2, and Store 3. The program should calculate the total payroll and then display the result on the screen.
a. Create an IPO chart for the problem, and then desk-check the algorithm using 23000 and 15000 as the payroll amounts for Store 1; 12000, 16000, 34000, and 10000 for Store 2; and 64000, 12000, and 70000 for Store 3.
b. List the input, processing, and output items, as well as the algorithm, in a chart similar to the one shown earlier in Figure 8-38. Then code the algorithm into a program.
c. Desk-check the program using the same data used to desk-check the algorithm.
d. If necessary, create a new project named Intermediate23 Project. Enter your C++ instructions into a source fi le named Intermediate23.cpp. Also enter appropriate comments and any additional instructions required by the compiler.
e. Save and then run the program. Test the program using the same data used to desk-check the program.

Â
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll