I\'m trying to also making it display seniors names age >65 JONES and JOHNSON an
ID: 3660123 • Letter: I
Question
I'm trying to also making it display seniors names age >65 JONES and JOHNSON
and a header with CHildren 18 and older which would be michaels,mitchel and fredickson
------------------------------------------------------------------------------------
create a test file called bio.txt
// the file will have the following format:
// lastname age
// lastname age
// ...
// read this file and create two arrays
// one array should contain the last name of all seniors (age >= 65)
// the other array should contain the last name of all children (age < 18)
// print out both arrays
// example:
// jones 84
// michaels 16
// fredrickson 22
// mitchell 7
// franklin 45
// johnson 77
// the result would be:
// seniors:
// jones
// johnson
// children:
// michaels
// mitchell