Ŀ

գҪıйص䡣
һrepeat (0<repeat<10)repeat㣺
һ(Ϊ־)е͡ʹwhileʵѭ
ʾ˵

2   	(repeat=2)
1 3 90 7 0
8 7 4 3 70 5 6 101 -1

The sum of the odd numbers is 11.
The sum of the odd numbers is 116.



#include <stdio.h>
int main(void)
{
    int x, sum;
    int repeat, ri;


    scanf("%d", &repeat);
    for(ri = 1; ri <= repeat; ri++){
        scanf("%d", &x);
/*---------*/
      	printf("The sum of the odd numbers is %d.\n", sum);
   }
}
