dimanche 26 janvier 2020

Generating random String out of a few user input options using java math.random?

Using Java, how do I select a random option (out of two user input items) using math.random where I assign different values to represent the different input items?

I need to create user input for 2 items, then use math.random to randomly choose one of the items.




Aucun commentaire:

Enregistrer un commentaire