Question: Write a program that reads an integer age of kids, finds the maximum of them, and counts its occurrences, finds the minimum of them, and
Write a program that reads an integer age of kids, finds the maximum of them, and counts its occurrences, finds the minimum of them, and counts its occurrences. And find the average ages. Assume that the input ends with number -1Suppose that you entered 3 5 25550 the program finds that the largest is 5 and the occurrence count for 54 Here are sample runs of the program Sample 1: Inter ART 11 5 5 5 5 3 11 The occurrence count of the age 1 The occurrence count of the ye Teverage of kide Write a program that reads an integer age of kids, finds the maximum of them, and counts its occurrences, finds the minimum of them, and counts its occurrences. And find the average ages. Assume that the input ends with number -1Suppose that you entered 3 5 25550 the program finds that the largest is 5 and the occurrence count for 54 Here are sample runs of the program Sample 1: Inter ART 11 5 5 5 5 3 11 The occurrence count of the age 1 The occurrence count of the ye Teverage of kide
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
