Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started