Random Numbers Problem

Another problem doing the rounds relates to random numbers. Unlike my previous post, this one might make a (difficult) interview question: Given a function that generates a integer random number between 1 and 5, write another function that generates an integer random number between 1 and 7. Obviously you are intended to use the first … Continue reading Random Numbers Problem