From 4db7ef775d0b2d57f9cba2d9c71b65a67cef07e4 Mon Sep 17 00:00:00 2001 From: pliqg4xy2 Date: Fri, 8 Nov 2024 15:58:46 +0800 Subject: [PATCH] ADD file via upload --- task 2.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 task 2.c diff --git a/task 2.c b/task 2.c new file mode 100644 index 0000000..6a91aab --- /dev/null +++ b/task 2.c @@ -0,0 +1,15 @@ +#include +#include +#include +int main(){ + srand(time(NULL)); + int i,j; + int matrix[9][9]; + for(i=0;i<9;i++){ + for(j=0;j<9;j++){ + printf("%d",rand()%10); + } + printf("\n"); + } +} +