Question: Must be done using java mr.Ballet does a yearly survey of his student's age 1. For the current year, create-a program called ageSurvey that asks

Must be done using java

mr.Ballet does a yearly survey of his student's age

1.

For the current year, create-a program called

ageSurvey

that asks the user for 12

ages(int) and stores them in an array.

2.

Mr.Ballet would like you to use the data from

part 1

, above, and combine it with last year's data for

2019 into a third array called AgeData using arrayCopy. Last year's data is:

ageData= {18, 29, 61, 21, 24, 18, 19, 31, 36, 19, 23, 23, 18, 20, 19}

3.

Print the full array.

4.

Find the person with the youngest age and print the age and their index in the array. If more than 1 person are that same age, print all of their indexes.

thank you

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!