> Just for grins I gave it to him on one line :)
>
> x=1;gets.chomp.each_char {|c| x = x * c.to_i|;puts x
>
> I wonder what the teacher would say if he turned that in? :)


In Russian Federation, x solves for *you*!



-- 
will

"If my life weren't funny, it would just be true;
and that would just be unacceptable."
- Carrie Fisher

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:313572
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm

Reply via email to