how can i refresh my matrix? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how can i refresh my matrix?

i drawed string array 6 on 6 and all elements are "free", i want to enter my array[i] and array[j] and after that i want to my array change that i, j that i entered become "busy", here is my prog, i want my matrix get refreshed every time i enter array[i] [j] https://code.sololearn.com/cWhYhJG5lJvy/?ref=app

18th Dec 2018, 8:35 PM
Hayko
Hayko - avatar
2 Answers
+ 1
You need lines 37 to 43 within the input loop so move line 35 (closing bracket of loop) to follow 43.
18th Dec 2018, 8:48 PM
John Wells
John Wells - avatar
0
i dont understand, i want matrix get refreshed every time i enter i, j and that array i, j element transform from free to busy
18th Dec 2018, 9:02 PM
Hayko
Hayko - avatar