vfp程序改错题
答案:1 悬赏:70 手机版
解决时间 2021-03-27 12:32
- 提问者网友:容嬷嬷拿针来
- 2021-03-26 16:59
vfp程序改错题
最佳答案
- 五星知识达人网友:从此江山别
- 2021-03-26 17:39
CLEAR
SET TALK OFF
SET DEVICE TO print
SET PRINTER to ~aa.txt
FOR i=1 to 33
FOR j=1 to 50
FOR k=1 to 100
IF i+j+k=100 and i*3+j*2+k*0.5=100
@ row(),col() say STR(i,4)+STR(j,4)+STR(k,4)
ENDIF
ENDFOR
ENDFOR
ENDFOR
SET PRINTER to prn
MODIFY COMMAND ~aa.txt
RETURN
2 30 68
5 25 70
8 20 72
11 15 74
14 10 76
17 5 78
SET TALK OFF
SET DEVICE TO print
SET PRINTER to ~aa.txt
FOR i=1 to 33
FOR j=1 to 50
FOR k=1 to 100
IF i+j+k=100 and i*3+j*2+k*0.5=100
@ row(),col() say STR(i,4)+STR(j,4)+STR(k,4)
ENDIF
ENDFOR
ENDFOR
ENDFOR
SET PRINTER to prn
MODIFY COMMAND ~aa.txt
RETURN
2 30 68
5 25 70
8 20 72
11 15 74
14 10 76
17 5 78
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯