Write a new function called PrintNameInIDRange that is given
two integer parameters such that the first one is smaller than or
equal to the second one, and it prints all the names whose ID is in this
range. Note ONLY NAMES are printed, not IDs.
For example, suppose the datafile is:
Pridgen 42
Garson 24
Tippit 53
Derryberry 99
Mickle 17
Then PrintNameinID(list,20,50) would output
Garson
Pridgen
The header for this function is below.
void PrintNameInIDRange(tvector & list, int ID1, int ID2)
// pre: ID1 <= ID2
// post: prints out the names of those with ID1 <= person's ID <= ID2