I don't know how to scan the file for repetitive empty seats
"Finds and reports all pairs of adjacent seats that are empty.
The location ( row number and seat number) of the seats must be printed. If three adjacent seats are empty, then both pairs must be reported,
if four adjacent seats are empty then all three pairs must be reported e.t.c.
If no pairs of seats are available, it prints an appropriate message."
Seems like a HW question to me. We cannot give you solution.
To start off, may you should read about file input/output operations and then if you have questions, post.