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
suzbo
wrote ...
2018/4/10
How does this if statement work?
suzbo
2018/4/10
#
if(xo<(posx+ro*rx/r))xo++;
danpost
2018/4/10
#
suzbo wrote...
(TITLE) How does this if statement work? if(xo<(posx+ro*rx/r))xo++;
It increments
xo
on the condition its value is less than the evaluated expression
posx+ro*rx/r
.
suzbo
2018/4/10
#
thank you - that was most helpful
You need to login to post a reply.
X