Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Any tips on this?

by simmisam (Novice)
on Feb 05, 2014 at 07:02 UTC ( [id://1073518]=note: print w/replies, xml ) Need Help??


in reply to Any tips on this?

print "Enter num1\n"; my $num1 = <STDIN>; chomp ($num1); print "Enter num2\n"; my $num2 = <STDIN>; chomp($num2); while($num2 > $num1) { print "Enter num again\n"; my $num = <STDIN>; chomp($num); $num1 = $num2; $num2 = $num; } print "Num2 is smaller than Num1\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1073518]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2026-03-08 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.