#include "stdio.h"
#include "conio.h"
#define ROW 5
#define COL 4
void main()
{
int a[ROW][COL],i,j;
clrscr();
printf("Enter 5*4 Matrix:\n");
for(i=0;i
/* Transpose of Matrix can simply be printed */
/* by changing Rows and Columns */
printf("\n");
printf("Transpose of Matrix:\n");
for(j=0;j
for(i=0;i
printf("\n");
}
getch();
}
0 comments:
Post a Comment