file for ex11

This commit is contained in:
Dan Buch 2012-02-19 13:52:42 -05:00
parent 11721355e0
commit 70bcc49e7e

8
ex11.rb Normal file
View File

@ -0,0 +1,8 @@
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."