Skip to content
Advertisement

My current if statement with the logical II OR is having compile error [closed]

I am learning Java and following code is not working, can you please check and see what I did wrong? Thanks.

JavaScript

Advertisement

Answer

It’s <= (Less than or Equal to), not =<.

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement