Essa empresa é sua?
Given a random number generator that provides a decimal number rand from [0, 1), write a function that returns a random integer from (1, 5].
Sigiloso
To flip the inclusion, subtract 1 - rand. Then multiply and truncate or simply divide the pieces such that there is a 25% chance of returning 2, 3, 4, and 5 respectively