Question: Store the following two arrays in the main method. int age [ ] = { 2 6 , 6 4 , 3 1 , 6
Store the following two arrays in the main method.
int age
;
int weight
;
Write code to compute the following:
Average age.
The average weight of those people in their
forties.
Highest weight.
Save the file as Topchyanlabjava
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
