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, 4 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
Karlton Learning wants a program that displays the amount of money a company owes for a seminar. The fee per person is based on the number of people the company registers, as shown in Figure 6-43. For example, if the company registers seven people, then the total amount owed is $560. If the user enters a number that is less than or equal to zero, the program should display an appropriate error message.

a. Create an IPO chart for the problem, and then desk-check the algorithm five times, using the numbers 4, 8, 12, 0, and -2 as the number of people registered.
b. List the input, processing, and output items, as well as the algorithm, in a chart similar to the one shown earlier in Figure 6-42. Then code the algorithm into a program.
c. Desk-check the program using the same data used to desk-check the algorithm.
d. Enter your C++ instructions into a source fi le named Introductory13.cpp. Also enter appropriate comments and any additional instructions required by the compiler.
e. Save and 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