I just accidentally invented a riddle when programming. :D First correct answer gets this post's reward. :P

@mkt · 2020-09-21 16:00 · math

Given the numbers 1 to 10 and the randomly chosen number R and two prediction values P1 and P2:

1 2 3 4 5 6 7 8 9 10
P1 R P2

Which guess was better? P1 or P2?

Actually pretty simple. I just had to think about it for a moment when implementing it. ;)

#riddle #fun #programming
Payout: 0.000 HBD
Votes: 25
More interactions (upvote, reblog, reply) coming soon.