如何用C语言程序实现输出圆周率小数点后100位小数答:main(){ long a=10000,b=0,c=3500,d=0,e=0,f=0,g[3501]; for(;b-c;)g[b++]=a/5; for(;d=0,f=c*2;c-=14,printf( "%.4d ",e+d/a),e=d%a) for(b=c;d+=g[b]*a,g[b]=d%--f,d/=f--,--b;d*=b); reutrn 0;} ...
C语言求圆周率100位,求解释,如何让C语言输出小数点后100位答:writeln(x:100);long a=10000,b,c=3500,d,e,f,g[3501];for(;b-c;)g[b++]=a/5;for(;d=0,f=c*2;c-=14,printf( "%.4d ",e+d/a),e=d%a)for(b=c;d+=g[b]*a,g[b]=d%--f,d/=f--,--b;d*=b);这个是100位程序 include<stdio.h> main(){ double i,pi...