Wayne Brisette wrote in post #1099174:
> Caddy:
> Why do I smell homework here? I'll give you a hint:
>
> Look here: http://www.ruby-doc.org/core-2.0/Integer.html
>
> No need for do any real stuff. You will just have to write the code to
> accept/verify integers and process them.
>
> -Wayne

I need an algorithm, using "for i in ... do" ...

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