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
Get step-by-step solutions from verified subject matter experts
