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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AlanPosted Dec 21, 2007, 5:10 AM
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)
Blocked AccountPosted Dec 21, 2007, 1:48 AM
Happy Coding!!