Skip to content

Instantly share code, notes, and snippets.

@kimitoboku
Created April 22, 2014 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimitoboku/11179722 to your computer and use it in GitHub Desktop.
Save kimitoboku/11179722 to your computer and use it in GitHub Desktop.
#include<stdio.h>
int main(void){
int array[3][3];
int i,j;
for(i=0;i<3;i++){
for(j=0;j<3;j++){
scanf("%d",&array[i][j]);
}
}
for(i=0;i<3;i++){
for(j=0;j<3;j++){
printf("%d ",array[i][j]);
}
puts("");
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment