Tic tac toe problem. Something wrong.help please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Tic tac toe problem. Something wrong.help please

I wrote a tic tac toe code and it is not working as I intended.please help https://code.sololearn.com/cV57kHMcoDta/?ref=app

18th Nov 2021, 12:46 PM
Larson Sequeira
Larson Sequeira - avatar
3 Answers
+ 1
// you had used a wrong variable when pritting the array start1: { //print array for (x = 0; x < 3; x++) { for (j = 0; j < 3; j++) { printf("%c ", arr[x][j]); // here was the error } printf("\n"); } printf("\n"); goto user1loc; //goto line 35 }
19th Nov 2021, 4:01 AM
Sacalivin Obiri
Sacalivin Obiri - avatar
0
Oh silly me Thank you so much
19th Nov 2021, 6:58 AM
Larson Sequeira
Larson Sequeira - avatar
0
Welcom
25th Mar 2022, 7:50 AM
Sacalivin Obiri
Sacalivin Obiri - avatar