Question: Write a program in C + + that will help a summer camp keep track of how many children are signing up for different activities

Write a program in C++ that will help a summer camp keep track of how many children are signing up for different activities throughout the summer. Prompt the user for activities until "done" is entered. The possible activities are archery, swimming, ceramics, and biking If the activity is not valid (one of the 4 possible choices), output a message to the user For each valid activity, prompt for the week the child wants to attend. The camp has 3 different weeks, week 1,2, and 3 After all sign-up forms are entered, output a table of data showing how many children are signed up for each activity, each week Output each activity within 12 spaces. Each enrollment count is output within 5 spaces. You do not need to print a space (or anything else) in between each value on the line You MUST have a one-dimensional array for the different activity names You MUST have a two-dimensional array for the table of how many children are signed up for each activity. Note that this array only includes the counts. It does not include the activity names. You MUST search the one-dimensional array to find the corresponding index for the two-dimensional array Sample Run #1(bold, underlined text is what the user types): Activity? archery Week? 2 Activity? ceramics Week? 3 Activity? biking Week? 1 Activity? swimming Week? 2 Activity? ceramics Week? 3 Activity? tennis Invalid activity Activity? ceramics Week? 3 Activity? archery Week? 2 Activity? done archery 020 swimming 010 ceramics 003 biking 100

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!