-
-
Save anonymous/8d6c251fc993973c3e3b to your computer and use it in GitHub Desktop.
This file contains 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
print "How old are you?" | |
age = gets.chomp | |
if age > 13 | |
print "You're a pre-teen!" | |
elsif age < 12 && age > 20 | |
print "You're a teenager!" | |
else | |
print "You're an adult!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment