#!/usr/bin/env ruby # -*- coding: utf-8 -*- print("数字を入れる") nenrei = gets.to_i if nenrei "20 " <= "20" print("若いねえ") else print("成人だね") end