Question: Create a program called AverageFamilyAgeYourLastName.java . In this project, prompt the user for how many ages they would like to enter. Prompt the user for

Create a program called AverageFamilyAgeYourLastName.java. In this project, prompt the user for how many ages they would like to enter.

Prompt the user for the name and age for each person.

After all the names and ages have been collected, return the average age as a double and return the oldest person's name. Here are two sample run:

Note: do not use arrays, lists, sets or maps to implement this project.

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 Databases Questions!