in reply to
RE (tilly) 2: Adding 2 + 2
in thread Adding 2 + 2
Haha.. I made the directions more clear.
print "Pick an integer between 1 and 3 (exclusive):"
$mynum1 = <STDIN>;
(print "Follow instructions!\n"),redo
unless ($mynum < 3) and ($mynum > 1) and ($mynum == int($mynum));
1 2 3
"Between 1 and 3" is ambiguous in (American) English, with the most common meaning being inclusive.
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (135 votes),