Untitled
unknown
plain_text
4 years ago
332 B
7
Indexable
#include<stdio.h>
int main()
{
int i,j,r=3,c=3,m[r][c];
printf("ente the elements of %d*%d matrix\n",r,c);
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
{
printf("enter elements");
scanf("%d",m[i][j]);
}
printf("elements of %d*%d matris\n",r,c);
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
{
printf("%d\t)",m[i][j]);
}
}
return 0;
}
}Editor is loading...