Eggscellent

joined 9 months ago
[โ€“] Eggscellent@sh.itjust.works 15 points 21 hours ago

If he really believed that, it would already be off.

[โ€“] Eggscellent@sh.itjust.works 4 points 1 day ago (1 children)

Part of the problem is operator precedence - it's ORing together the three numbers, then comparing that to "coin".

5 = 00101
10= 01010
25= 11001
    11111 = 31 

It's testing if coin equals 31.