Quote:
Код:
if(hour >= 21 && hour <= 00)
|
Seriously? How can a variable be both greater than 21
and smaller than zero
at the same time? The compiler can tell you a lot but it can't fix stupid. Also I'm not sure why you use "else if" there because it is completely unrelated to the above if-statement.