Here's the problem:
"Daily life magazine wants an analysis of the demographic characteristics of its readers. The Marketing department has collected reader survey records containing the age, gender, marital status, and annual income of readers. Design an application that accepts reader data and produces a count of readers by age groups as follows: under 20, 20-29, 30-39, 40-49, 50 and older."
I know that the answer should include an array but i'm very confused as to how to search the array then organize the results by age groups. I if you can help, this assignment is due at midnight tonight so please hurry, thanks!