E
evedence
Guest
#include<stdio.h>
void main()
{
int n,i;
double sum;
for(i=1;i<=n;i++)
{ if(i=(n+2)/3)
sum=sum+1/i;
}
printf("sum的值为"%d,sum);
}
Continue reading...
void main()
{
int n,i;
double sum;
for(i=1;i<=n;i++)
{ if(i=(n+2)/3)
sum=sum+1/i;
}
printf("sum的值为"%d,sum);
}
Continue reading...