inti=1;intsum=0;do{if(i%2==1){sum+=i;System.out.println(i);}i++;}while(i<=100);System.out.println(sum);
int n = 1;
int sum=0;
int product = 1;
do
{
for(int i=1;i<=n;i++)
product *= i;
sum += product;
product =1;
n++;
}while(n=101)
100的阶乘也太大了吧