merci, c'est bon je crois que c'est bien cela
int theNumber =Math.abs(randomizer.nextInt()) % 100; merci quand meme :)
s0d4
tu fais un truc du genre :
math.Random*100
ou Math.random*100
enfin, quelque chose dans ce gout là ...
et tu fous ça dans une variable
genre
int i;
i=math.random()*100;
lyliann
Comment faire si je veux:
Calculate a random number between 0 and 100
Store the random number in the field theNumber
Use your Random object [randomizer] to generate the number