编程计算题,求详解 SET TALK OFF CLEAR STORE 1 TO S,I,J DO WHILE I
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/18 02:06:30
编程计算题,求详解 SET TALK OFF CLEAR STORE 1 TO S,I,J DO WHILE I
SET TALK OFF 关闭屏幕显示,也就是不把程序显示在画面里
CLEAR 清屏幕
STORE 1 TO S,I,J 赋值 s i j 都等于1
DO WHILE II 子循环 ,直到J小于等于i时退出循环
S=S+I+J 累加
J=J-5 调整J
ENDDO 返回子循环
I=I+5 调整I
ENDDO 返回大循环
?”S=”,S 打印 S= 累加值
SET TALK ON 打开屏幕显示
RETURN 程序结束.
整个程序中 i 会有两个值 1,6 ,J会有 1,10,5,10,5的变化.需要注意的是,第二次循环时,J初始状态是5.
CLEAR 清屏幕
STORE 1 TO S,I,J 赋值 s i j 都等于1
DO WHILE II 子循环 ,直到J小于等于i时退出循环
S=S+I+J 累加
J=J-5 调整J
ENDDO 返回子循环
I=I+5 调整I
ENDDO 返回大循环
?”S=”,S 打印 S= 累加值
SET TALK ON 打开屏幕显示
RETURN 程序结束.
整个程序中 i 会有两个值 1,6 ,J会有 1,10,5,10,5的变化.需要注意的是,第二次循环时,J初始状态是5.
编程计算题,求详解 SET TALK OFF CLEAR STORE 1 TO S,I,J DO WHILE I
SET TALK OFF CLEAR STORE 0 TO S,T,P FOR K=1 TO 10 DO ...
SET TALK OFF CLEAR STORE 0 TO S,T,P FOR K=1 TO 10 DO CASE CA
1.写出下面程序的作用 Set talk off Clear I=2 Do While I
vfp执行如下程序后,显示A的值 set talk off clear store 0 to a,b do while
SET TALK OFF STORE 1 TO A,B DO WHILE A
VF题:SET TALK OFF STORE 1 TO I,J FOR N=1 TO 4 @I,J+1 SAY“AB”
VFP:set talk off clear s=0 for m=3 to 7 n=2 do while n
SET TALK OFF CLEAR FOR I=1 TO 20 FOR J=1 TO 33 FOR K=(100-I*
set talk off clear s=o i=1 最好带中文的
求讲解一道VF的题目有如下程序 SET TALK OFF DIMENSION K(2,3) I=1 DO WHILE I
set talk off clear for W=100to 200 prime=.t. for I=2to W-1 i