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