When the user finishes the program should print each person


Please help with the following problem.

Prompt the user for the name and age of a group of people.

The group's size is unknown initially, so the program must keep asking the user if they want to enter more data.

When the user finishes, the program should print each person in order from the youngest to the oldest, that is, the program should sort by age. Implement/use a sorting algorithm of your choice to solve this problem.

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: When the user finishes the program should print each person
Reference No:- TGS01253254

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)