Posted on 2003-03-03
i want an array or 4 random numbers.
then i want the user to input 4 numbers and compare them with the randomly generated ones. (sort of like mastermind, if u've played the game)
i understand that i can use the the random() method from the standard Math class. does that guarentee the random things will be numbers (i'm guessing the fact that its is math class means yes)
is there anyone who has mastermind style code that i could adapt. (i don't want the whole white pin, black pin thing!)