Now let’s tackle procs. First step: create one!
Create a proc called
under_100 that checks if a number it’s passed is less than 100. (We’ll handle passing this proc the
.select method in the next exercise—we won’t need to do anything with the
ages array just yet.)