if语句大于并且小于怎么写

更新时间:02-09 教程 由 颜面 分享

if语句大于并且小于怎么写?

这要看你用什么开发语言。vb中的代码如下:

dim i%

i=len(strcpname)

if i>10 and i<200 then

msgbox "ok"

end if

同样的代码在java中

int i=strcpname.length

if(i>10&&i<200){alert("ok!"}

声明:关于《if语句大于并且小于怎么写》以上内容仅供参考,若您的权利被侵害,请联系13825271@qq.com
本文网址:http://www.25820.com/tutorial/14_2303524.html