Professional Documents
Culture Documents
PROBLEM STATEMENT-:
write a menu driven program in c perform
matrix addition and subtraction of 2 matrices
Implementation-:
CODING-
#include <stdio.h>
int main()
{
int a[2][2],b[2][2],c[2][2],d[2][2],choice;
int i,j;
printf("---Matrix addition and
subraction---");
subtraction result
This is your Subtraction Resultant
Matrix::
-4 -4
-4 -4