Prog#127: sum of 2 matrices

/*
sum of 2 matrices
Program#127
*/
#include<stdio.h>
main()
{
int i,j,a[3][3], b[3][3], c[3][3];
for(i=0;i<3;i++)
for(j=0;j<3;j++)
scanf("%d",&a[i][j]);

for(i=0;i<3;i++)
for(j=0;j<3;j++)
scanf("%d",&b[i][j]);

for(i=0;i<3;i++)
for(j=0;j<3;j++)
c[i][j]=a[i][j]+b[i][j];

for(i=0;i<3;i++)
for(j=0;j<3;j++)
printf("%d",c[i][j]);
}