Java根據年份算出所屬的生肖。

一個小程序~java public String getYear(Integer year){ if(year<1900){ return "未知"; } Integer start=1900; String [] years=new String[]{ "鼠","牛","虎","兔", "龍","蛇","馬","羊", "猴","雞","狗","豬"
相關文章
相關標籤/搜索