数学流程图For I From 1 TO 10S←1For I From 1 TO 10 STEP 1S←S+3*IEnd Forprint S

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 17:31:49
数学流程图ForIFrom1TO10S←1ForIFrom1TO10STEP1S←S+3*IEndForprintS数学流程图ForIFrom1TO10S←1ForIFrom1TO10STEP1S←S

数学流程图For I From 1 TO 10S←1For I From 1 TO 10 STEP 1S←S+3*IEnd Forprint S
数学流程图For I From 1 TO 10
S←1
For I From 1 TO 10 STEP 1
S←S+3*I
End For
print S

数学流程图For I From 1 TO 10S←1For I From 1 TO 10 STEP 1S←S+3*IEnd Forprint S
s=1+3*1+3*2+...+3*10
=1+3*55
=166

S=1+3*(1+2+3+4+5+6+7+8+9+10)
S=1+3*55
S=166