> 其他 >
c语言.求1!+2!+3!+……+10!.要求编写求N的阶乘的函数
人气:223 ℃ 时间:2020-01-25 21:20:40
解答
#include<stdlib.h\x0d#include<iostream\x0d#include<iomanip\x0dusing namespace std;\x0dconst int N=1000;\x0dint compute(unsigned int *s,int n)//s用来存储一次的计算结果,n为本次计算的乘数,函...
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版