123
dddd
ddd
看看
{:5_91:}
1
查看答案
查看参考答案
本帖最后由 huhao666 于 2020-10-31 19:20 编辑
测试题:0:10;
1:0;
2:a,b,c;
3:a=14;b=5;c=9;
4:z=x>0?x=x:x=-x;
5:A:
if (size>12)
{
cost=cost*1.05;
flag=2;
}
else
{
bill=cost*flag;
}
B:if (ibex>14)
{
sheds=3;
}
else
{
sheds=2;
help=2*sheds;
}
c:
scanf("%d",&score);
while(score>=0)
{
count++;
scanf("%d",&score);
}
printf("");
{:10_277:}
{:5_90:}
答案
215
吧
#include<stdio.h>
#include<math.h>
int main()
{
int i,term=1;
double sum=0;
for(i=0; term<=1e8; i++)
{
sum=sum+pow(-1,i)/term;
term += 2;
}
printf("%.7f",sum);
}
啦啦啦,我做完题来看答案了
1
21111111111111111111111
看看
。