Hi guys, Im here for some help. I have assignment that Im working on where I have to read in a file that looks like this:
I have to make an array that is [rows]x[leftSeats + rightSeats],
then split the remaining info by split("-") and assign the seats.
Here is what I have so far:
I am reading in the rows and left and right seat and turning them into integers, however, using the if statements, I cant make the array.
Thanks a lot