编写程序计算SUM=1+1*2+1*2*3+……+1*2*3*…*100的和

问题描述:

编写程序计算SUM=1+1*2+1*2*3+……+1*2*3*…*100的和
不好意思,是VB,要采用Do……Loop结构
1个回答 分类:综合 2014-10-04

问题解答:

我来补答
#include
using namespace std;
int fac(int n)
{ double result=1;
for(int i=2;i
 
 
展开全文阅读
剩余:2000