Binary Dice

Demonstrates multiple if structure

You rolled a 2

die: 2

In binary, that's 010.

Refresh this page in the browser to roll another die.