This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Windows10
wrote ...
2015/11/7
What is the error if (points <0 &&> 20) in Greenfoot?
Windows10
2015/11/7
#
What is the error if (points <0 &&> 20) in Greenfoot?
davmac
2015/11/7
#
It's not valid syntax, and it doesn't make logical sense either. You possibly want:
if (points > 0 && points < 20)
That is "if points is greater than 0 and points is less than 20".
You need to login to post a reply.
X