#!/usr/bin/env ruby # -*- coding utf-8 -*- print "数を入れてね: " kazu = gets.to-i if kazu % 3 = 0 print "偶数だよ!" end