Hello. So I'm wondering if there is a way to assign a probability to a certain event in the code. Let's say that I want a certain arithmetic operation to have an 80% chance of happening (and make an if/else if statement based on that, or something similar...) Is there something in the java language that can help me? or should I just create an algorithm to do it? Thanks a lot.