急,初学QBasic有个题目不会,求助
qbasic吧
全部回复
仅看楼主
level 1
seem7800 楼主
A为长度
B为宽度
A*B=C
C小于等于0.4输出2
C大于0.4小于等于0.8输出4
C大于等于0.81小于等于1.0输出6
C大于等于1.01小于等于1.5输出9
C大于等于1.51输出C*9
2012年10月20日 05点10分 1
level 1
seem7800 楼主
求解,求大神,求答案,急用急救啊,谢谢大家
2012年10月20日 05点10分 2
level 1
seem7800 楼主
求解,求大神,求答案,急用急救啊,谢谢大家
2012年10月20日 05点10分 3
level 8
input a,b
c=a*b
if c<=0.4 then print 2
if c<0.8 then print 4
if c>=0.81 and c <=1 then print 6
if c>= 1.01 and c<= 1.5 then print 9
if c>=1.51 then print c*9
end
2012年10月24日 12点10分 4
可是要输出的值为w
2012年10月27日 04点10分
level 4
IT狂人QQ群123281077,欢迎菜鸟、高手的加入。
2012年10月27日 01点10分 5
谢谢
2012年10月27日 04点10分
1