#include#include,main(){int s;float n,t,p;t=1.0;p=0;n=1.0;s=1; while(fabs(t)>=1e-6);{p=p+t;n+=2.0s=-s;t=s/n;}p=4*p;pintf("p=%f\n",p);}最后怎么输出--------------------Configuration:Cpp1 - Win32 Debug--------------------Compiling...Error spawning

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/10 18:28:58
#include#include,main(){int s;float n,t,p;t=1.0;p=0;n=1.0;s=1; while(fabs(t)>=1e-6);{p=p+t;n+=2.0s=-s;t=s/n;}p=4*p;pintf(
xAO0ǿJŘl ƃ]̮YG01$ACDJ=iVoaסB^_K-Ǥ蕷]۳1QLBvj4,$R1dBPv)C"!I%#ːD/XheB*]%EтERUaux[a4>.x}XyTd-O tXw ==LJalF  d?h2J@H9!$HHÑ$&fJ`I6n׌d"ᜨ;~LL#Epv La;KExG~՛ⲣ˛hpۧV[{hkNjWYG8J.9cq[ɜF$c|f

#include#include,main(){int s;float n,t,p;t=1.0;p=0;n=1.0;s=1; while(fabs(t)>=1e-6);{p=p+t;n+=2.0s=-s;t=s/n;}p=4*p;pintf("p=%f\n",p);}最后怎么输出--------------------Configuration:Cpp1 - Win32 Debug--------------------Compiling...Error spawning
#include
#include,
main()
{int s;
float n,t,p;
t=1.0;
p=0;
n=1.0;
s=1;
while(fabs(t)>=1e-6);
{p=p+t;
n+=2.0
s=-s;
t=s/n;
}
p=4*p;
pintf("p=%f\n",p);
}
最后怎么输出--------------------Configuration:Cpp1 - Win32 Debug--------------------
Compiling...
Error spawning cl.exe
Cpp1.obj - 1 error(s),0 warning(s) 到底是哪里出错了啊

#include#include,main(){int s;float n,t,p;t=1.0;p=0;n=1.0;s=1; while(fabs(t)>=1e-6);{p=p+t;n+=2.0s=-s;t=s/n;}p=4*p;pintf("p=%f\n",p);}最后怎么输出--------------------Configuration:Cpp1 - Win32 Debug--------------------Compiling...Error spawning
第二行多个逗号,while那一行最后的分号去掉!