Microsoft | Design a random number generator for a slot machine
7831

You are in charge of writing a software for a slot machine. On press of a button, the slot machine should output the roll of 2 dice.

constraints: Do not use the random library. Probability of the dice rolls should be equal.

Comments (6)