S=1!+3!+5!+7!+......+99!编程(两种方法)
来源:百度知道 编辑:UC知道 时间:2024/05/14 13:15:08
我要的是用高中数学的解法,只能使用IF ESLE DO LOOP UNTIL WHILE WEND等语句,不是电脑的编程,是数学题
s=0,a=1
for i from 1 to 99 step 2
for j from 1 to i step 2
a=a×j
end for
s=s+a
end for
s=0,a=1 ,j=1
while i<100 then
while j《=i then
a=a×j
j=j+2
end while
s=s+a
end while
s=0
t=1
For i from 1 to 99 step 2
For j from 1 to i
t=t*j
end For
s=s+t
end For
print s
s=0
t=1
i=1
while i<= 99
for j from 1 to i
t=t*i
end for
s=s+t
i=i+2
wend
1S,2S,3S,4S,5S都是什么意思?有6S吗?
设S= | X - 3 | + | 5 - X| + |7 - X |,则S的最小值是多少?
为什么圆台的体积公式是V=1/3(S`+根号(S`S)+S)h
什么是S.I.S?什么是2S?什么是3S?什么是4S?什么是5S?什么是6S?
4S是什么?为什么叫4S而不叫3S,2S,1S呢?
S=Left(S,InStr(S,Chr(0))-1) 是什么意思
编程计算:S=1!+2!+3!+4!+5!
在vfp中,求s=3!+5!+7!+…,直到s>=28000为止,如何定程序?
用高斯法解决s=1+3+5+7+9......+(2n-1)的计算公式
设S={x|x≤3},T={x|x<1},求S∪T,S∩T