lundi 27 juin 2016

How to get a specific random number out of three numbers in android

I have three numbers 25,30 & 35 . I want to get a one random number out of these three numbers .

Currently , I know how to get a random number from a range. But in this case i have no idea how to get it .

Have any ideas ?

Thank you .




Aucun commentaire:

Enregistrer un commentaire