Another way is golf
Because what intro to programming grader doesn't love golfed and/or obfuscated code! The more devious and clever the better, they say.
:)
In reply to Re^2: Dice roll chances
by danaj
in thread Dice roll chances
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |