Prog#068: Read & Display Matrix

/* 
Program#68
Read & Display Matrix
*/

#include <stdio.h>
main(){
int i=0,j=0,a[3][3];

while(i<3){
j=0;
while(j<3){
scanf("%d",&a[i][j]);
j=j+1;
}
i=i+1;
}
//display
i=0;
while(i<3){
j=0;
while(j<3){
printf("%d",a[i][j]);
j=j+1;
}
i=i+1;
}
}