#include<stdio.h>main(){ int a; double b,c,sum; a=1; c=1; while(b>1e-5) {b=1.0/a; c=c*b; a++; sum+=c;} printf("e=%lf\n",sum);}哪里不对啊?
谢谢你!