Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: I am stuck on how to print the largest and smallest numbers from user inputted values. Any help is appreciated.

by parv (Parson)
on Nov 20, 2014 at 22:19 UTC ( [id://1107967]=note: print w/replies, xml ) Need Help??


in reply to Re^2: I am stuck on how to print the largest and smallest numbers from user inputted values. Any help is appreciated.
in thread I am stuck on how to print the largest and smallest numbers from user inputted values. Any help is appreciated.

Why even specify the list twice? Make it an odd count(-.

require List::MoreUtils ; printf "min: %f ; max : %f\n" , List::MoreUtils::minmax @num ;
  • Comment on Re^3: I am stuck on how to print the largest and smallest numbers from user inputted values. Any help is appreciated.
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-25 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found