System.out.printf(" Your Chinese Zodiac Sign is: %s\n", x.getChineseZodiac(cal.get(Calendar.YEAR))); System.out.printf(" Your Zodiac Sign is: %s\n", x.getZodiac(cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH))); } // Capricorn December 22 - January 19 jan=0 // ...