Program to Input values in 2D Array and print

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,x[3][3];
clrscr();
   for(i=0;i<3;i++)
   {
  for(j=0;j<3;j++)
  {
  printf("\nEnter No.");
  scanf("%d",&x[i][j]);
  }
   }

   for(i=0;i<3;i++)
    {
    for(j=0;j<3;j++)
    {
    printf("\t%d",x[i][j]);
    }
    printf("\n");
    }
getch();
}

2 responses on “Program to Input values in 2D Array and print

  1. This app is very good for people or something like that too much for the first time in the world to me…

  2. This app is very good for people

Leave a Reply