Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HashMap map
- <Player, int>
- <Ralf, 12>
- <Bernd, 27>
- int gesammt = 39;
- int vw = map.get("Ralf");
- double i = 100 / gesammt;
- double chance = i / vw;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement