printf("输入10个数字\n"); int i, score[10],j(0);
for (i = 0; i<10; i++) scanf_s("%d", &score[i]); printf_s("演示奇数累计结果\n"); for (i = 0; i<10; i++) if (score[i]%2>0)
printf_s("%d\n", j += score[i]);