How to get a random number using percentage | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to get a random number using percentage

Lets say there are 82 people and each has a probability of 0,05 of being chosen when picking one of them for a trip? Write a method in java that chooses one of them ...

26th May 2021, 8:48 PM
StackOverride
StackOverride - avatar
1 Réponse
+ 1
Thanks
27th May 2021, 11:34 AM
StackOverride
StackOverride - avatar