Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions

Question

What are the benefits of establishing an ESOP in a company?

Answered: 1 week ago