#!/usr/bin/env ruby # -*- coding: utf-8 -*- print"犬または猫を入れてください" suki=gets.chomp if suki =="犬" print"ワオーン" else print"ゴロニャーン" end