Can you explain the final part of your code? Where it says:
>   p [a,b,c] if a>0 && b>0 && c>0
What is p? Can you just use it instead of puts?

And uh, this isn't really programming, but how did you go by getting the 
hypotenuse? I'm a little confused by the code :3. Thanks!

-- 
Posted via http://www.ruby-forum.com/.