Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 pondering the Monastery: (2)
As of 2024-04-26 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found