Hi guys,
I have a problem with my code and I really hope you can help me! In this part of my code I would like to let the user make two user inputs. "eingabeZeile" and "eingabeSpalte". This user input should then be but to the place of my array "Spielfeld" like this: spielfeld[eingabeZeile][eingabeSpalte], but in the way I try to use it eclipse just gives me an error code: The left-hand side of an assignment must be a variable.
Unbenannt2.JPGUnbenannt2.JPGUnbenannt.JPG
I use IO.readInt() in there to let the user type in an input. Our prof gave us that class.
I hope someone can tell me what I'm doing wrong or how I can solve this different. As you might have guessed: I'm not an english native, so feel free to correct, but not to judge and please ask if something is unclear.
Thank you !
Joana