include "math.h"void main(){ int i,sum=0;long double k=1;for(i=1;i<=100;i++){ if(i%2==0) /*判断偶数*/ k*=i;else sum+=i;} printf("0-100间奇数之和为%d,偶数之积为%ld",sum,k);}