scanning two dimensional arrays

for the program i will be given a auditorium with empty and filled seats
as in the link provided...

http://clipper.lehigh.edu/engr1/pas/reserv_a.txt

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."
A tip: Read the message "Welcome - read before posting" thread in this forum. It has helpful tips about how to properly post.

Also, post what you have. If you don't post anything, people will assume that you have done nothing towards accomplishing your goal. This is part of what the thread about posting mentions.

Where are you stuck? What specific help do you need? I surely won't attempt to help you out by just giving you working code on what seems to be homework. Do your best. Then, if you get stuck, post what you have and ask here for help. Again, read the thread I refer to.

Cheers.
Topic archived. No new replies allowed.