#include<stdio.h>
#include<conio.h>
int main()
{
int arr[3][2];
int i,j;
for(i=0;i<3;i++)
{
for(j=0;j<2;j++)
{
printf("enter the number\n");
scanf("%d",&arr[i][j]);
}
}
for(i=0;i<3;i++)
{
for(j=0;j<2;j++)
{
printf("%d ",arr[i][j]);
}
printf("\n");
}
getch();
}
No comments:
Post a Comment