Winner in 30 min to one of the posters by random number
Your post count in topic is your lotery number.
This post #1 does not participate.
Quote
CODE |
public class FreeLotery {
public static void main(String[] args) { int usercount = (new Integer(args[0])).intValue(); int winner = (int) Math.ceil(Math.random() * usercount); System.out.println("And the Winner is: " + winner); }
}
|