> 其他 >
使用嵌套循环求一个正整数n的阶乘和(n从键盘输入)
+2!+3!+4!+.+n!
人气:448 ℃ 时间:2020-07-04 11:18:12
解答
int n=int.Parse(Console.ReadLine());
int i;
int s=1;
for(i=1;i
推荐
猜你喜欢
© 2026 79432.Com All Rights Reserved.
电脑版|手机版