class rep1{ public static void main(String[] args) { int year = 2010; int month = 4; char seiza = '羊'; float result; System.out.println("私は " + month + "月生まれの " + seiza + "座です."); result = year + month; System.out.println(" year + month = " + result); result = year - month; System.out.println(" year - month = " + result); result = year * month; System.out.println(" year * month = " + result); result = (float)year / month; System.out.println(" year / month = " + result); } }