box-o-sand/lrthw-remnants/ex11.rb

9 lines
209 B
Ruby
Raw Normal View History

2012-02-19 18:52:42 +00:00
print "How old are you? "
age = gets.chomp
print "How tall are you? "
height = gets.chomp
print "Howmuch do you weigh? "
weight = gets.chomp
puts "So, you're #{age} old, #{height} tall, and #{weight} heavy."