Welcome to JavaRanch
If I had that (it is quite awkward for a beginners' assignment) I would put the names and numbers of seats into a
Map, using <
String, Integer> as its types, so you get
rows |-> 7
leftSeats |-> 1
rightSeats |-> 2
Then you can do arithmetic on the different numbers and get a something[7][3] array. By the way: There is no such things as a multi-dimensional array in
Java, only arrays of arrays.
Test the first character of each String read, and look in the Character class for methods which tell you whether it begins with a row number.
****************************************************************************
Other people are bound to have different ideas.