(用WHILE语句计算1+1/2!+1/3!+1/4!+.的前20项和)

问题描述:

(用WHILE语句计算1+1/2!+1/3!+1/4!+.的前20项和)

void main(){
float sum=0;
long n=1;
for (int i=1;i