From 7afa824a25116d73b4c940b5f3c32797cb7d179f Mon Sep 17 00:00:00 2001 From: pr9nfksyw Date: Sat, 2 Nov 2024 09:01:20 +0800 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 109a016..0fe9f31 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,14 @@ #include #include + 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}, {6,7,2,1,9,5,3,4,8}, {1,9,8,3,4,2,5,6,7}, @@ -14,10 +22,6 @@ {3,4,5,2,8,6,1,7,9}}; int main() { - for(int i=0;i<9;i++){ - for(int c=0;c<9;c++){ - printf("%d",board[i][c]); - } - } + dayin(board[9][9]); return 0; } \ No newline at end of file