On 4 August 2014 15:09, Marc Chanliau <marc.chanliau / gmail.com> wrote:

> Thanks for the answer.
> In your example, however, there's no user interaction. I want to prompt
> the user to enter information as shown in my original code.
> Marc
>
>
Actually, there is user interaction -- it calls `gets` twice. It just
doesn't print anything. Surely you're capable of adding some `puts`es,
though.