Update program1.c

main
pr9nfksyw 3 weeks ago
parent 30cd82c3ed
commit 188b8cd534

@ -6,7 +6,7 @@ void dayin(int board[9][9])
{
for (int i = 0; i < 9; i++) {
for (int j = 0; j < 9; j++) {
printf("%d ", arr[i][j]);
printf("%d ", board[i][j]);
if ((j + 1) % 3 == 0 && j < 8) {
printf("| ");
}
@ -17,7 +17,6 @@ for (int i = 0; i < 9; i++) {
}
}
}
}
int board1[9][9] = { {5,3,4,6,7,8,9,1,2},
{6,7,2,1,9,5,3,4,8},
{1,9,8,3,4,2,5,6,7},

Loading…
Cancel
Save