Newer
Older
programs / masaki / hensu.rb
#!/usr/bin/env ruby

print"君の名は?"
namae=gets.chomp
print"何才?"
tosi=gets.to_i
puts"君は#{namae}、
#{tosi}才。"