On Friday, 20 December 2013 at 15:05:07 UTC, bearophile wrote:
marcpmichel:

Here is the ugly thing :
https://github.com/jbrains/trivia/tree/master/d

And wrong:

if (rand.front() % 9 == 7) {

Bye,
bearophile

Do you mean I should have used :
if (uniform(0,10) == 7) {
instead ?

Reply via email to