#!/usr/bin/ehv ruby print "君の名は?" namae = gets.chomp print "何才?" tosi=gets.to_i printf("君は%sさん、%d才。\n",namae,tosi)