Solution 7:
The
program should print what’s inside e. Since we have used the find function then
this function should be able to find the record which has the ID=17 and store
it inside e. Therefore the program should print: <17, Michael>
If we
are using NameCompare, the records should be stored in the SAList in
alphabetical order according to the name of each record, therefore they are
stored in the following way:
<19, Ali>, <22,Elie>, <12,Hadi>,
<17,Michael>, <15,Nader>
If we are
using IDCompare, the records should be stored in the according to the ID of
each record, therefore they are stored in the following way:
<12,Hadi>, <15,Nader>, <17,Michael>,
<19, Ali>, <22,Elie>