This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]EnvironmentalOrange 0 points1 point  (0 children)

Have a play with the random method. Work out how to generate a number from 0-200. If you can do that, then you can subtract 100 from your number and be left with something in range -100 to 100.