Update README.md

main
pr9nfksyw 3 weeks ago
parent e521b75e6d
commit 7afa824a25

@ -3,6 +3,14 @@
#include <time.h> #include <time.h>
#include <stdlib.h> #include <stdlib.h>
void dayin(int board[9][9])
{
for(int i=0;i<9;i++){
for(int c=0;c<9;c++){
printf("%d",board[i][c]);
}
}
}
int board[9][9]={{5,3,4,6,7,8,9,1,2}, int board[9][9]={{5,3,4,6,7,8,9,1,2},
{6,7,2,1,9,5,3,4,8}, {6,7,2,1,9,5,3,4,8},
{1,9,8,3,4,2,5,6,7}, {1,9,8,3,4,2,5,6,7},
@ -14,10 +22,6 @@
{3,4,5,2,8,6,1,7,9}}; {3,4,5,2,8,6,1,7,9}};
int main() int main()
{ {
for(int i=0;i<9;i++){ dayin(board[9][9]);
for(int c=0;c<9;c++){
printf("%d",board[i][c]);
}
}
return 0; return 0;
} }
Loading…
Cancel
Save