Compare commits
No commits in common. 'bb7e19f87abc9410e9498c459dce0a729ce40db3' and '70947af0f8b8d92cfb34809b06ee07167f4b8ded' have entirely different histories.
bb7e19f87a
...
70947af0f8
@ -1,17 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
void printGrid(int grid[9][9]) {
|
|
||||||
int i, j;
|
|
||||||
for (i = 0; i < 9; i++) {
|
|
||||||
for (j = 0; j < 9; j++) {
|
|
||||||
printf("%2d ", grid[i][j]);
|
|
||||||
if ((j + 1) % 3 == 0 && j < 8) {
|
|
||||||
printf("| ");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
printf("\n");
|
|
||||||
if ((i + 1) % 3 == 0 && i < 8) {
|
|
||||||
printf("-----------------------\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in new issue