(sorry for the delay in announcing the results. My internet connection was down yesterday) The winners are:
<h2> William Brogden
M Kumaresan
Frank Carver
David Lu
</h2>
I did the judging this time. There were about ten entries that were disqualified because their account name did not meet our requirements. There were over a dozen messages that were disqualified because they did not relate to performance or contain any substance. I also excluded the mountains of messages from Jack - I figured he probably didn't want to win a copy of his own book. This left 75 valid entries from 41 people. This made the odds about 1 in 19 entries. I put all the names in a text file (people that had more than one valid entry had more than one line in the text file). I then ran the following program passing in the value of 75: <pre> import java.util.* ; public class Pick { public static void main( String[] args ) { int numPicks = Integer.parseInt( args[0] ); Random r = new Random(); for( int i = 0 ; i < 10 ; i++ ) { r.nextInt(); } System.out.println( r.nextInt( numPicks ) + 1 ); }
}
</pre> Thanks to Jack for his tremendous contributions! What do you guys think? Was this a good promotion? Should we do more? Should we do things differently?
Thillai Sakthi
Ranch Hand
Joined: Jun 17, 2000
Posts: 91
posted
0
Oh! That's a great news. Thanks Paul. MK
Regards,<br /> <br />Shakthi
Paul Wetzel
Ranch Hand
Joined: Nov 02, 1999
Posts: 107
posted
0
This is a great promotion, Jack got his book publicized and some people got free books! thanks paul
KASI VISHWANATH
Ranch Hand
Joined: Aug 06, 2000
Posts: 60
posted
0
I shall never come to javaranch if i am not getting a free book ------------------ I.K.VISHWANATH