I need a function that generates a random boolean with a given probability from 1 to 100.
I\'ve tried with this:
int randProb(int chance, int min, int