This site requires JavaScript, please enable it in your browser!
Greenfoot back
WhiteWolfLcT
WhiteWolfLcT wrote ...

2014/12/10

Having issues understanding what seems like a simple issue

WhiteWolfLcT WhiteWolfLcT

2014/12/10

#
This is for school, so I would rather not copy down a wall of code that i obviously did not write. What i would like help understanding is how to add two values gained from Greenfoot.getRandomNumber(). Sorry for such a simple post, but google isnt helping here.
classicjimmy classicjimmy

2014/12/10

#
With a number interval of 100:
int totalValue = Greenfoot.getRandomNumber(100) + Greenfoot.getRandomNumber(100);
You need to login to post a reply.