Skip to main content

Posts

Showing posts with the label arrays practice problem in c language

Matrix Multiplication in c language

first matrix:     second matrix:    answer matrix is: 2   3                    3     4                    30         29 3   2                    8     7                    27         26 below is code in c language: #include   <stdio.h> #include   <string.h> #include   <math.h> #include   <ctype.h> #include   <stdlib.h> int   main () {      int   row1 ,  row2 ,  col1 ,  col2 ,  sum ;      printf ( "Enter the row and column for matrix 1 \n " );      scanf ( "%d %d" , & row1 ,...