编敲
用for和while循环求e的值[e=1+11!+12!+13!+14!+15!+...+1n!]_百度文 ...
⽤for和while循环求e的值[e=1+11!+12!+13!+14!+15!+...+1n!] /*编敲代码,依据下⾯公式求e的值。要求⽤两种⽅法计算:1)for循环。计算前50项2)while循环,直⾄最后⼀项的值⼩于10-4e=1+1/1!+1/2!+1/3!+1/4!+1/5!+...+1/n!*/#include<stdio.h>//====================...