22 Replies
if (x >= 0)
thx
"if number is greater or equal to 0"
how do i check if num has only one letter
is starting to sound like homework
Why don't you experiment a bit?
it kind of is
think about it, which numbers are only 1 letter?
like what (num<=10)?
10 is 2 letters
yeah i know
so what is it then?
oh
num<10
Think logically ..
if num is EQUAL or LESS than 10
is exactly (num <= 10)
yeah
nvm
why was there false both times
bcuz ive made a mistake
alright
num >= 0 && num < 10
yeah wait your right
it can be a neagtive 100
but it just cant be a postive 10