User Profile
Collapse
-
oh java i thought i was posting in java tech section can i get a link im new to this forum havingt trouble finding thingsLeave a comment:
-
random number help
im trying to create a list of 20 random numbers that dont repeat the same number. the first loop is good but im having trouble with the imbedded statement it looks something like this
for (int index =0; index < arraysize; index++)
{
prizeNumbers[index] = Math.abs(ran.ne xtInt() %500 + 1);
while ( prizeNumber[index] != prizeNumber[0] threw prizeNumber[index-1])
{
}
...
No activity results to display
Show More
Leave a comment: