How to write basic matrix using row and column differently
Posted
by
kounabg
on Programmers
See other posts from Programmers
or by kounabg
Published on 2013-10-18T20:53:50Z
Indexed on
2013/10/18
22:15 UTC
Read the original article
Hit count: 151
Filed under:
c
#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?
© Programmers or respective owner