if Number >= 10 OR < 12
is acceptable code in the which programming language?
FORTRAN BASIC or C#?
if Number >= 10 OR < 12
is acceptable code in the which programming language?
FORTRAN BASIC or C#?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Blocked AccountRank #403 · 6.2K reputationPosted Dec 20, 2007, 8:48 PM EST
Happy Coding!!
AlanRank #669 · 3.6K reputationPosted Dec 21, 2007, 12:10 AM EST
It's not valid in Fortran or Basic either.
In Basic it would be:
if Number >= 10 or Number < 12 then
in Fortran:
if (Number .ge. 10 .or. Number .lt. 12) then
and in C#:
if (Number >= 10 || Number < 12)