Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Find the biggest number from three numbers

by ysth (Canon)
on Dec 26, 2010 at 07:42 UTC ( #879190=note: print w/replies, xml ) Need Help??


in reply to Re^2: Find the biggest number from three numbers
in thread Find the biggest number from three numbers

$biggest = ($a+$c+$b+$c+abs($a-$b)+abs($c-$a+$c-$b-abs($a-$b)))/4;
--
A math joke: r = | |csc(θ)|+|sec(θ)|-||csc(θ)|-|sec(θ)|| |
Online Fortune Cookie Search

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://879190]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2016-12-08 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (136 votes). Check out past polls.