a004.
文文的求婚
| From: [1.175.237.181] |
發表日期
:
2013-11-25 23:23
import java.util.Scanner;
public class a004 {
public static void main(String[] args) {
Scanner cin=new Scanner(System.in);
int year=cin.nextInt();
if(year%4==0 && year%100!=0 || year%400==0){
System.out.println(year+":是閏年");
}
else
System.out.println(year+":是平年");
}
}
輸出短少???