M
Matt Victorio
Hello,
I started using Ruby few weeks ago and I have a little problem:
How do I inhibit the user of using numbers instead of letters?
For exemple, I created a program that asks the user his age, but I want
the user answer it using only numbers, not letters ('10', not 'ten').
Which command do I use for returning the line 'use just numbers', for
exemple?
Please, tell me anything, even if it looks 'hard'
Thank you
I started using Ruby few weeks ago and I have a little problem:
How do I inhibit the user of using numbers instead of letters?
For exemple, I created a program that asks the user his age, but I want
the user answer it using only numbers, not letters ('10', not 'ten').
Which command do I use for returning the line 'use just numbers', for
exemple?
Please, tell me anything, even if it looks 'hard'
Thank you