Menu

[Solved]1 Etc 208 228 Talke Home Semester Prejeet Due Class Tuesday April 23 2019 Notet Late Submi Q37268868

1 ETC 208/228 Talke-Home Semester Prejeet Due In-Class on Tuesday, April 23, 2019 NOTEt Late Submission will net be accepted1 ETC 208/228 Talke-Home Semester Prejeet Due In-Class on Tuesday, April 23, 2019 NOTEt Late Submission will net be accepted Situation standing at the entrance with a tablet count an array named patronTypes that can store up to 500 integer values Your frlend has received an internshilp offer from a new amusement park. His/her task will Iinvolve ing the number of people entering the park. Your task Is +program which will be loaded on the tablet to assist your friend. The program will have to be identifled and entered into the array : 1s, 2s, 3s, 4s and 5s to represent people represents an infant (0-3 years old), 2 represents a child (4-12 years old),3 as valid integer, and data entry should stop when a negative value is entered. of patrons are represents a teenager, 4 represents adult male, and S represents adult female. No other integer value should be accepted 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 a C++ program (parkPatrons2) for this problem on your class Thumb Drive. You will your project folder to the course Thumb Drive during the class on the due date. Create transfer 9sss Use the following numbers as input to test your prog 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 Children (4-12): Adults (Male & Female): $0 $15 For the above input the following should be displayed: Date: 04/16/2019 Number of Infants Number of Children 5 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 1 ETC 208/228 Talke-Home Semester Prejeet Due In-Class on Tuesday, April 23, 2019 NOTEt Late Submission will net be accepted Situation standing at the entrance with a tablet count an array named patronTypes that can store up to 500 integer values Your frlend has received an internshilp offer from a new amusement park. His/her task will Iinvolve ing the number of people entering the park. Your task Is +program which will be loaded on the tablet to assist your friend. The program will have to be identifled and entered into the array : 1s, 2s, 3s, 4s and 5s to represent people represents an infant (0-3 years old), 2 represents a child (4-12 years old),3 as valid integer, and data entry should stop when a negative value is entered. of patrons are represents a teenager, 4 represents adult male, and S represents adult female. No other integer value should be accepted 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 a C++ program (parkPatrons2) for this problem on your class Thumb Drive. You will your project folder to the course Thumb Drive during the class on the due date. Create transfer 9sss Use the following numbers as input to test your prog 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 Children (4-12): Adults (Male & Female): $0 $15 For the above input the following should be displayed: Date: 04/16/2019 Number of Infants Number of Children 5 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 1 ETC 208/228 Talke-Home Semester Prejeet Due In-Class on Tuesday, April 23, 2019 NOTEt Late Submission will net be acce… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *