How to write basic matrix using row and column differently
- by kounabg
#include<stdio.h>
#include<conio.h>
int main()
{
int a[3][3],i,j;
for(i=0;i<3;i++)
{printf("enter the value of row A: ",a[i]);
scanf("%d",& a[i]);}
for(i=0;i<3;i++)
{printf("enter the value of row B: ",a[i]);
scanf("%d",& a[i]);}
for(i=0;i<3;i++)
{printf("enter the value of row C: ",a[i]);
scanf("%d",& a[i]);}
}
***I did this. I want to convert it into matrix and how can I do it?