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 possible choices output a message to the user For each valid activity, prompt for the week the child wants to attend. The camp has different weeks, week and After all signup forms are entered, output a table of data showing how many children are signed up for each activity, each week Output each activity within spaces. Each enrollment count is output within spaces. You do not need to print a space or anything else in between each value on the line You MUST have a onedimensional array for the different activity names You MUST have a twodimensional 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 onedimensional array to find the corresponding index for the twodimensional array Sample Run #bold underlined text is what the user types: Activity? archery Week? Activity? ceramics Week? Activity? biking Week? Activity? swimming Week? Activity? ceramics Week? Activity? tennis Invalid activity Activity? ceramics Week? Activity? archery Week? Activity? done archery swimming ceramics biking
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
