Create a Ruby script that reads and stores the names and ages of 10 people. Then the algorithm should print the name and age of the youngest person, and the name and age of the oldest person.
What is the purpose? Do you need any assistance about this script or it is a challenge? Please provide more information.
Suspiciously sounds like some kind of job interview task…
How do you need to store it? In database?