level 1
当x属于15~30时y=4,当x属于35~40时y=7
用if语句怎么写
2013年11月16日 10点11分
1
level 5
if x>=15 and x<=30 then
y=4
elseif x>=35 and x<=40 then
y=7
endif
只能帮到这儿了,再难的我也不会
2013年11月16日 14点11分
2
level 6
if x>=15 and x<=30 then y=4
if x>=35 and x<=40 then y=7
还能怎么写?没其他的方法了吧?
2013年11月16日 17点11分
3