All I have right now is what you gave me earlier pretty muchI am using 681131700085 as an example UPC. The even sum should only be 10 but it keeps printing out as 15Code:#include <stdio.h> int main(void) { int a[12], i, sumEven, sumOdd, total; printf("Type in one number of the UPC code and press enter"); for(i=0;i<12;i++){ scanf("%d\n", &a[i]); } sumEven = 0; sumOdd = 0; for(i=0;i<11; i+=2){ sumOdd+=a[i]; sumEven+=a[i+1]; } total = sumOdd*3 + sumEven; printf("odd sum is %d\n", sumOdd); printf("even sum is %d\n", sumEven); printf("total is %d\n", total); return 0; }