摘要: import java.util.Scanner; public class canlendar { /** * 判断是否为闰年 * * @param year * @return */ public static boolean isLeapYear(int year) { if (year % 阅读全文
posted @ 2016-06-04 22:34 爆破鬼才xcc 阅读(164) 评论(0) 推荐(0) 编辑
摘要: package codeCompliation; import java.util.Scanner; public class isPrime { /** * 判断一个数是否是质数 * @param number * @return */ public static boolean isPrime( 阅读全文
posted @ 2016-06-04 22:15 爆破鬼才xcc 阅读(760) 评论(0) 推荐(0) 编辑