Created
September 12, 2010 23:41
-
-
Save anonymous/576615 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts 'What is your name?' | |
name = gets.chomp | |
puts 'What is your age?' | |
age = gets.chomp | |
puts 'Well, ' + name + ', next year you will be ' age.to_i+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment