Skip to content

Instantly share code, notes, and snippets.

@ToreySound
Created October 27, 2013 16:20
Show Gist options
  • Save ToreySound/7184458 to your computer and use it in GitHub Desktop.
Save ToreySound/7184458 to your computer and use it in GitHub Desktop.
print "How old are you? "
age = gets.chomp()
print "How tall are you? "
height = gets.chomp()
print "How much do you weigh? "
weight = gets.chomp()
puts "So, you're #{age} years old, #{height} tall and #{weight} heavy."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment