From 2e19a294176738b072c6f18414e357a4f85a66b8 Mon Sep 17 00:00:00 2001 From: pliqg4xy2 Date: Fri, 8 Nov 2024 15:44:45 +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"); + } +} +