I'm hosting a small raffle to win $20 UGC, This is only for Registered members and you must have 50+ Posts to enter.
What do I do to win?- Select a number between 10,000, Post your number in comment below. I'll post a result of RANDOMLY generated number between 0-10,000. Number closest to the result will win $20 UGC card.
How will i generate Random Number?
I'll generate random number using jGRASP code (under spoiler at end).
When is the Drawing?
Drawing will be held in 2 days from this post date.
- If you posted a number in the comments and got banned between now and the result day, you'll be disqualified.
- Everyone's number will be recorded before the drawing, You cannot change the number from the instance I record it.
Why am i doing this?
Last time I checked America was a free nation. In other words, because I want to do it.
// MPGH Random Number Raffle
public class RandomNumberContest
public static void main (String args)
Random generator = new Random();
num1 = generator.nextInt(10000);
System.out.println ("Random Number Generator has Generated: " + num1);
No stupid comments please
I'll also post a screenshot showing the number generated
GOOD LUCK EVERYONE!