1.
I=6023
2.
第一问:s=1
第二问:n=10或者n=11或者n=12
3.
s←0
For I From 1 to 15 step 3
Read a(I)
s=s+a(I)
End For
s=s/15
print s
4.
Read n
s←0
t←1
For i From 1 to n
t=t*i
s=s+1/t
End For
print s
5.
I←0
s←0
while s
1.
I=6023
2.
第一问:s=1
第二问:n=10或者n=11或者n=12
3.
s←0
For I From 1 to 15 step 3
Read a(I)
s=s+a(I)
End For
s=s/15
print s
4.
Read n
s←0
t←1
For i From 1 to n
t=t*i
s=s+1/t
End For
print s
5.
I←0
s←0
while s