From: Kane Williams Date: 2011-09-03T11:14:46+09:00 Subject: Beginner needing help - Writing right-angle triangle program I've been going through a Haskell tutorial (Just to see what it's like) and saw an example program which would tell me how long each side a right-angle triangle is, when given the perimeter. It seemed pretty simple, and me, being the kind of guy that likes to write the same program in multiple languages, tried to write it in ruby. I'm pretty stumped though, and would like someone a little higher up to give me a nudge in the right direction :D. (Eg. program would return (6, 8, 10) and (8, 6, 10) when you say that the perimeter is 24) Thanks in advance! -- Posted via http://www.ruby-forum.com/.