crystal-by-example icon indicating copy to clipboard operation
crystal-by-example copied to clipboard

Input example #1

Open amitsaha opened this issue 9 years ago • 1 comments

Adds an example from standard input. Please take a look.

amitsaha avatar Sep 15 '16 10:09 amitsaha

I think the most useful example of input would be asking the user to type "yes" or "no" and looping until a valid input is entered.

This one is too basic, and just doing nothing if the input fails isn't exactly good advice.

oprypin avatar Sep 16 '16 07:09 oprypin