#include
void main()
{
int a[10][10],m,n,i,j;
clrscr();
printf("Enter the number of rows in the matrix:");
scanf("%d",&m);
printf("Enter the number of columns in the matrix:");
scanf("%d",&n);
for(i=0;i
printf("The matrix is as follows");
for(i=0;i
for(j=0;j
}
getch();
}