You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
print "Please enter positive numbers up to 100\n";
|
|
while (<>) {
|
|
chomp;
|
|
if ($_ > 0 && $_ < 100) {
|
|
print "Thank you - let's have another!\n";
|
|
} else {
|
|
print "Please enter positive numbers up to 100\n";
|
|
}
|
|
}
|