I need help figuring out this code for my homework. I don't understantd the EOF part

Printable View