Question: Create a program using a loop , that displays the registration information for business conferences. The price per person depends on the number of people
Create a program using a loop, that displays the registration information for business conferences. The price per person depends on the number of people a Company registers. (For example, if a Company registers 7 people then the amount owed by that Company is $624.75). The following chart shows the charges per registrant:
Number of Registrants 1-3 Charge Per Person $111.75
Number of Registrants 4-10 Charge Per Person $89.25
Number of Registrants 11 or more Charge Per Person $52.00
The program should allow the user to enter the number registered for as many Companies as desired. One of the easiest ways to write this program uses a sentinel of some sort (make sure the user knows how to stop the program loop). The program should display the total number of people registered, the total charges, and the average charge per registrant. (For example, if one company registers 6 people and a second company registers 3 people, then the total number of people registered is 9, the total charge is $870.75, and the average charge per registrant is $96.75). C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
