+ 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
3 Respuestas
+ 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
}
0
Oh silly me
Thank you so much
0
Welcom