From 41492573a8415c2dcbe130eee65055391853df56 Mon Sep 17 00:00:00 2001 From: pvl836cjw <2745453479@qq.com> Date: Sun, 29 Oct 2023 09:28:25 +0800 Subject: [PATCH] ADD file via upload --- program1.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 program1.c diff --git a/program1.c b/program1.c new file mode 100644 index 0000000..0303760 --- /dev/null +++ b/program1.c @@ -0,0 +1,20 @@ +#include +int main() +{ + int board[9][9]={0}; + int i,j; + for(i=0;i<9;i++) + { + printf("|"); + for(j=0;j<9;j++) + { + printf("%d",board[i][j]); + if(j!=8) + { + printf(" "); + } + } + printf("|"); + printf("\n"); + } +}