[Solved]-Situation Friend Received Internship Offer New Amusement Park Task Involve Standing Entran Q37238215

Situation Your friend has received an internship offer from a new amusement park. His/her task will involve standing at the entrance with a tablet counting the number of people entering the park. Your task is to write a C++ program which will be loaded on the tablet to assist your friend. The program will have an array named patronTypes that can store up to 500 integer values entered by the user. Five types of patrons are to be identified and entered into the array 1s, 2s, 3s, 4s and 5s to represent people entering the park; 1 represents an infant (0-3 years old), 2 represents a child (4 12 years old), 3 represents a teenager, 4 represents adult male, and 5 represents adult female. No other integer value should be accepted as valid integer, and data entry should stop when a negative value is entered Your program should count the number of each 1, 2, 3,4 and 5 in the array, display a list of how many infants, children, teenagers, adult males and adult females who entered the park and the total entrance fees collected during a particular shift. (a) Document your Steps 1 & 2 on the attached sheet of paper, and (b) Create a C++ program (parkPatrons2) for this problem on your class Thumb Drive. You will transfer your project folder to the course Thumb Drive duringte class on the due date Use the following numbers as input to test your program: 1, 3, 2, 5, 4, 2, 2,4, 5, 5, 3, 3, 2, 2, 5, 6,1, 1, 3, 2, 2,4, 5, 3, 5, 1, 1, 2, 5, 3, 3,-3 Entrance Fees per person Infant (0-3 years old): Teenagers: $7 $22 s0 $15 Children (4-12): Adults (Male & Female For the above input the following should be displayed: Date: 04/16/2019 Number of Infants Number of Children – Number of Teenagers7 Number of Adult Males 3 Number of Adult Females 7 Total Number of Patrons30 Total Fees Collected$381 Show transcribed image text Situation Your friend has received an internship offer from a new amusement park. His/her task will involve standing at the entrance with a tablet counting the number of people entering the park. Your task is to write a C++ program which will be loaded on the tablet to assist your friend. The program will have an array named patronTypes that can store up to 500 integer values entered by the user. Five types of patrons are to be identified and entered into the array 1s, 2s, 3s, 4s and 5s to represent people entering the park; 1 represents an infant (0-3 years old), 2 represents a child (4 12 years old), 3 represents a teenager, 4 represents adult male, and 5 represents adult female. No other integer value should be accepted as valid integer, and data entry should stop when a negative value is entered Your program should count the number of each 1, 2, 3,4 and 5 in the array, display a list of how many infants, children, teenagers, adult males and adult females who entered the park and the total entrance fees collected during a particular shift. (a) Document your Steps 1 & 2 on the attached sheet of paper, and (b) Create a C++ program (parkPatrons2) for this problem on your class Thumb Drive. You will transfer your project folder to the course Thumb Drive duringte class on the due date Use the following numbers as input to test your program: 1, 3, 2, 5, 4, 2, 2,4, 5, 5, 3, 3, 2, 2, 5, 6,1, 1, 3, 2, 2,4, 5, 3, 5, 1, 1, 2, 5, 3, 3,-3 Entrance Fees per person Infant (0-3 years old): Teenagers: $7 $22 s0 $15 Children (4-12): Adults (Male & Female For the above input the following should be displayed: Date: 04/16/2019 Number of Infants Number of Children – Number of Teenagers7 Number of Adult Males 3 Number of Adult Females 7 Total Number of Patrons30 Total Fees Collected$381
Expert Answer
Answer to Situation Your friend has received an internship offer from a new amusement park. His/her task will involve standing at … . . .
OR

