From 214c564d59248891b1cce51f8c1534fddae064f5 Mon Sep 17 00:00:00 2001 From: HARSH KUMAR JADON Date: Sat, 10 May 2025 21:30:30 +0530 Subject: [PATCH] Added matrix multiplication program --- matrix_multiplication.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 matrix_multiplication.c diff --git a/matrix_multiplication.c b/matrix_multiplication.c new file mode 100644 index 0000000..e197c9a --- /dev/null +++ b/matrix_multiplication.c @@ -0,0 +1,38 @@ +#include +#include +int main() { + int n; + int i,j,k; + printf("Give the size of matrices.\n"); + scanf("%d",&n); + int Mat1[n][n],Mat2[n][n],Mat3[n][n]; + printf("Enter elements of first matrix:\n"); + for(i=0;i