2014年元宵节情人节:大虾快来

来源:百度文库 编辑:高考问答 时间:2024/04/29 05:23:52
void main ( )
{
const double eps=0.1e-10
int n=1
floate=1.0,r=1.o
do{
e+=r
n++
r/=n
}while(r>eps)
cout<<"theapproxinate 省略若干isa"
cout<<e<<endl
上面是一段关于计算e精度的程序。麻烦大虾们解释一下越详细越好小弟刚开始学啊!

"侠"写错了...