S← 1For I from 1 to 9 step 2S←S + IEnd forPrint S

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/29 02:10:34
S←1ForIfrom1to9step2S←S+IEndforPrintSS←1ForIfrom1to9step2S←S+IEndforPrintSS←1ForIfrom1to9step2S←S+IE

S← 1For I from 1 to 9 step 2S←S + IEnd forPrint S
S← 1
For I from 1 to 9 step 2
S←S + I
End for
Print S

S← 1For I from 1 to 9 step 2S←S + IEnd forPrint S
26
循环5次(I=1、3、5、7、9)
S各加5次I
1+1+3+5+7+9=26

ying gai shi ba

i=1 s=1+1=2
i=2 s=2+2=4
i=3 s=4+3=7
...
一步一步推吧

数学流程图For I From 1 TO 10S←1For I From 1 TO 10 STEP 1S←S+3*IEnd Forprint S S← 1For I from 1 to 9 step 2S←S + IEnd forPrint S S←1 For i from 1to4 S←S+2^iEND FOR Print S S←0 For I from 1 to 11 step 2 S←2S+3 If S>20 then S←S-20 End If End For Print SFor I from 1 to 11 step 2此题目这句话 有用么 跟I 有关系么?还有希望 自己做 soso问问的最佳答案 不对或许 下列伪代码输出的结果是?Read S=1For I from 1 to 10 step 3S=S+2IPrint S End ForEnd 1.写出输出结果T←2 I←5 While T≤2007,T←T+1 I←I+3 End If Print I2.S←0 Read n For I From 1 to n step3 s←s+i End for print s 若输入变量的值为3,则输出变量s------若输出变量s的值为22则变量的值为------3.设计一 算法 伪代码 运行结果为?s←0t←1For i From 1 to 5t←t×is←t+1End ForPrint s运行结果为? 基本算法语句的1.在循环语句的一般形式中有“Until A”,其中的A是____?2.For i From -1 To -100 Step -2的意思是____?3.下列的代码计算____:S←0t←1F i From 1 To 5t←t×iS←t+1End ForPrint S 改正下列句子的错误.1-I want borrow an English book from the teather.2-Lieten to me,children!I have a good news for you.3-It's six thirty.It's time for get up. Read S 1 For I from 1 to 5 step 2S S+IEnd forPrint SEnd输出的结果是这个题我自己会,只是想问下 有时候类似题S出来时连续的3个数,有时候就一个...为什么 基本算法语句的 给个答案就行 希望做对!填空1.下列算法输出的功能是_____?S←1 I←1 While S≤2005 i←i+2 S←S*i End While Print i 2.下列伪代码的功能是______?n←0 Read x1,x2,...,x10 For i From 1 To 10 If x1 s=1 for i=1 to 100 s=s*i endfor s 中的s=1 和s=s*i Dim a(4) s=0 For i=1 to 4 s=s+a(i) Next i s=1 for i=1 to 5 step 2 s=s+i endfor s ad value for option -i,valid range is from 1 to 255. bad value for option -i,valid range is from 1 to 225 free pascal中for语句的具体意思.比如 for i=1 to 100 do s=s+free pascal中for语句的具体意思.比如for i=1 to 100 do s=s+i s=5 for i 2.6 to 4.9 step 0.6 s=s+1 next i 是怎样解的啊s=5for i 2.6 to 4.9 step 0.6 s=s+1 next i