Question
Employer needs you to write a program in C++ to calculate the registration charge for 10 attendees. Here is how they determine the price of
Employer needs you to write a program in C++ to calculate the registration charge for 10 attendees. Here is how they determine the price of registration:
The convention has a base price of $1500.00.
Each attendee is required to register for at least one workshop. A 50.00 surcharge per workshop for the first two, and 20.00 for any additional workshops. The number of workshops for each attendee should be saved in an array.
There will be 7 workshops offered. Validate input with a do while loop that the number of workshops is between 1 and 7 inclusive.
This program should prompt the user for the number of workshops each attendee has registered and store the number of workshops for each attendee in an array.
After calculation, the program should then print the following to the screen as output.
The number of workshops and the registration for each attendee
Total Number of workshops
The Grand total of all registration.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started