Question: Introduction to programming with c++ 8th edition In this exercise, you create a program for the sales manager at Computer Haven, small business that offers
In this exercise, you create a program for the sales manager at Computer Haven, small business that offers motivational seminars to local companies. Figure the charge for attending a seminar. Notice that the charge per person depen number of people the company registers. For example, the cost for four registrants $400; the cost for two registrants is $300. The program should allow the sales manager to enter the number of registrants for as many companies as neede manager has finished entering the data, the program should calculate and display the total number of people registered, the total charge for those registrants, and the average charge per registrant. For example, if one company registers four peop 25. 7-53 sho ws on the is d. When the sales company registers two people, the total number of people registered charge is $700, and the average charge per registrant is $116.67. le and another is six, the total Number of people a company registers 1 3 4 -9 10 or more Charge per person (S) 150 100 90 Figure 7-53 Create an IPO chart for the problem, and then desk-check the algorithm appropriately. a. b. List the input, processing, and output items, as well as the algorithm, in a chart similar to the one shown earlier in Figure 7-42. 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 Advanced25 Project, and save it irn the Cpp81Chap07 folder. Enter your C++ instructions into a source file named Advanced25.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Display the average charge with two decimal places. Save and then run the program. Test the program using the same data used to desk-check the program. e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
