hash("Pat Summitt") = 6 hash("Cutcliffe") = 5 hash("Rod Delmonico") = 2 hash("Phil Fulmer") = 0
0: empty 1: Cutcliffe, Pat Summitt 2: Phil Fulmer 3: empty 4: Rod Delmonico
0: Phil Fulmer 1: Pat Summitt (hashes to 0 and quadratic probing with i=1 puts her here) 2: empty 3: empty 4: Cutcliffe (hashes to 0 and quadratic probing with i=2 puts him here) 5: empty 6: Rod DelmonicoPhil Fulmer, Pat Summitt, and Cutcliffe collide since they all hash to 0. They appear in that order in scfile1, so Phil Fulmer ends up in location 0. Pat Summitt is inserted next and is placed in location 0 + 12 = 1. Finally Cutcliffe is inserted and is placed in location 0 + 22 = 4.
typedef struct { double cumulative_score; int number_of_scores; } person;