#include<iostream.h
#include<process.h
#include<conio.h
void main()
{
int a[10][10],b[10][10],c[10][10],rowa,cola,rowb,colb,i,j;
cout<<"enter the data for matrix A\n";
cout<<"enter the number of rows=";
cinrowa;
cout<<"enter the number of coloumns=";
cincola;
cout<<"enter the data for matrix B\n";
cout<<"enter the number of rows=";
cinrowb;
cout<<"enter the number of coloumns=";
cincolb;
if((rowa!=rowb)&&(cola!=colb))
{
cout<<"Matrix cannot be added\n";
exit(0);
}
cout<<"Matrix have same order and can be added\n"...
Continue reading...