Experimenting with Parallel Arrays
In the previous program GetMark, you could hard code the values of the data in the arrays to save typing them in each time (e.g. Surnames[1] := 'Smith';). If you want more names and marks remember to increase MAX.
Try searching for a mark and find the surname of the person who had obtained it.
Try searching for a mark obtained by more than one person and output the surnames of those who had obtained it.
Use a two-dimensional array for marks so that each person has two marks. Output both marks obtained by the surname input by the user.