From b571d24b2d6c0e5b74caa6b0822b98e88e77dd49 Mon Sep 17 00:00:00 2001 From: codewithkanhaiya <89131687+codewithkanhaiya@users.noreply.github.com> Date: Mon, 31 Oct 2022 00:20:16 +0530 Subject: [PATCH] Refactored matrix Operation.c --- C/Refactored matrix Operation.c | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 C/Refactored matrix Operation.c diff --git a/C/Refactored matrix Operation.c b/C/Refactored matrix Operation.c new file mode 100644 index 0000000..a93af95 --- /dev/null +++ b/C/Refactored matrix Operation.c @@ -0,0 +1,34 @@ +#include +#include +void main() +{ + int i,j,ar[10][10],row,col,sum=0; + + printf("Enter number of Rows and Colums of 2D Array : \n"); + + scanf("%d%d",&row,&col); + + printf("Enter all elements : \n"); + + for(i=0;i