List Exercise; Who is Oldest | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

List Exercise; Who is Oldest

This is a simple program that collects two pieces of information for as many people as the user wants: name and age. User enters 'stop' when finished. The output is the name and age of the oldest person in the list. I enjoyed this exercise and thought I would share it. Check out my code 'WhoisOldest_List' and give me a thumbs up if you like it.

12th Feb 2017, 1:14 AM
Greg Watts
Greg Watts - avatar
1 Answer
+ 9
i think i am the youngest one age :10 years old (this december 11)
14th Feb 2017, 12:11 PM
Art456
Art456 - avatar