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问问的最佳答案 不对或许

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/07 10:03:26

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 S
For I from 1 to 11 step 2
此题目这句话 有用么 跟I 有关系么?还有希望 自己做 soso问问的最佳答案 不对或许

For I from 1 to 11 step 2的意思是:
I的值从1开始(from 1),每次加2(step 2),超过11(to 11)为止.
这是个循环语句,循环执行后面的语句6次,I的值分别为1、3、5、7、9、11.

数学流程图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问问的最佳答案 不对或许 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 下列伪代码输出的结果是?Read S=1For I from 1 to 10 step 3S=S+2IPrint S End ForEnd 基本算法语句的 给个答案就行 希望做对!填空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 Dim a(4) s=0 For i=1 to 4 s=s+a(i) Next i 改正下列句子的错误.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. dim I% ,S% s=0 for I=5 to 1 s=s+i next I print “s=” ; s 怎么看的 dim I% ,S%s=0for I=1 to 5 step -1s=s+inext Iprint “s=”;s 还有这个一起求解释~ 一道关于流程图与伪代码的数学题S=0For i From 1 To 9 Step 2S=2S+iIf S>20 Then S=S-10End ForPrint S运行本题的伪代码,输出的结果是多少(请给出思考过程)? Read S 1 For I from 1 to 5 step 2S S+IEnd forPrint SEnd输出的结果是这个题我自己会,只是想问下 有时候类似题S出来时连续的3个数,有时候就一个...为什么 for next 循环s=0for i=1 to 10 step 2s=s+1i=I*2next i当循环变量后,i,s的值各为() From now on ,I must always (r )this,(s )my love to her and care for her enough. You seem to have given up smoking for many years.That's true._____ I returned home from abroad. vfp程序解答,set talk off,s=0,for i=1 to 10,i=i+1,s=s+i,endfor,?s,i 输出结果s=30,i=11,怎么回事?