利用Java實現從鍵盤輸入一個年份,程序輸出改年出生的人的生肖

從鍵盤輸入一個年份,程序輸出改年出生的人的生肖。 import java.util.Scanner; public class Sesx { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println(「請輸入你的出生年份」); int year = sc.next
相關文章
相關標籤/搜索