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
Dr.Dre
wrote ...
2018/2/10
Random Numbers
Dr.Dre
2018/2/10
#
Hi I would like to able to generate random numbers between 0 and 800 in my programm could anyone tell me how i could do it?
danpost
2018/2/10
#
The Greenfoot class has a 'getRandomNumber(int n)' method which will return a random number between 0 and n-1. See the Greenfoot class API documentation for details.
Dr.Dre
2018/2/14
#
thanks
You need to login to post a reply.
X