簡單問題 (運算符號)

提示: 作者被禁止或刪除 內容自動屏蔽

自! 己! 試!

TOP

SCORE >90 AND <100
=91至99(假設係INT)

SCORE >=90 AND <=100
=90至100(假設係INT)

TOP

> 係解大過
>= 係解大過及對於

TOP

原帖由 narutoxninja 於 2009-10-24 12:32 發表
SCORE >90 AND =90 AND  


教人好過俾答案..

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

原帖由 somee3838 於 2009-10-24 12:57 發表
咁即係如果 我輸入90 同埋100
SCORE >90 AND =
即係大過90 OR =90?


係!

TOP

原帖由 somee3838 於 2009-10-24 12:57 發表
咁即係如果 我輸入90 同埋100
SCORE >90 AND =
即係大過90 OR =90?

I think it's simple primary school logic....
90點會大過90

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

原帖由 somee3838 於 2009-10-25 00:34 發表

咁係唔係即係用>= 就冇錯?


The question is ... do u want to include 90 and 100 these 2 numbers?
If u want to include, then using >= & <=
If u don't want to include, then using > & <

This is simple logic which u should learned in primary school ... =.="

TOP