#include <stdio.h>

int main() {
    int arr1[90];
    int arr2[90];
    int sumarr[90];
    int i=0;
    for (i=0;i<5;i++){
        scanf("%d",&arr1[i]);
    }
    for (i=0;i<5;i++){
        scanf("%d",&arr2[i]);
    }
    for (i=0;i<5;i++){
        sumarr[i]=arr1[i]+arr2[i];
        printf("%d ",sumarr[i]);
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: