Hi,
I am trying to do the following:
From an input file that contains information in the following format:
Name
Age
Name
Age
Name
Age
...I now have to output to a file the average age of the group, as well as the minimum & maximum ages. The output should read as follows:
"Name" is the oldest member of the group with age X years.
Would appreciate help with this.
Thanks.
If you want help on homework, post what you've already written, and we will take a look at it. We won't write it for you.