Newer
Older
Ruby / puro2.rb
#!/usr/bin/env ruby
# coding: utf-8
print("数字を入れる")
nenrei = gets.to_i
printf("%d歳です。\n",nenrei)