Skip to content

Conversation

@amitsaha
Copy link
Contributor

@amitsaha amitsaha commented Sep 15, 2016

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

@oprypin
Copy link

oprypin commented Sep 16, 2016

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.

Copy link

@nesaulov nesaulov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the braces after gets really necessary?
@BlaXpirit +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants