#include <stdio.h>
int main () {
int a[10],b[10],sum[10],n=3,i,j,k,f;
for(i=0;i<n;i++){
scanf("%d",&a[i]);
}
for(j=0;j<n;j++){
scanf("%d",&b[j]);
}
for(k=0;k<n;k++){
sum[k] = a[k]+b[k];
}
for(f=0;f<n;f++){
printf("%d",sum[f]);
}
}
To embed this program on your website, copy the following code and paste it into your website's HTML: