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