From: Prateek Agarwal Date: 2009-07-28T02:03:50+09:00 Subject: I just can't understand why this program is not working Can someone please tell me what the problem with this program is? When I run it, I am able to input the values but I am not getting any results. It just hangs after that. Then I press 'ctrl+c', and I get some 'interrupt' error. Please help? Attachments: http://www.ruby-forum.com/attachment/3906/q2.rb -- Posted via http://www.ruby-forum.com/.