摘要:
判断一个整数是否是奇数: //现代流行的"程序员" public static bolean isOdd(int n) { while(true) { if(n==1) return true; else if(n==0) return false; n=n-2; } } //中规中矩的程序员 public static boolean isOdd(int n) ... 阅读全文
posted @ 2008-01-07 17:25
马可香蕉
阅读(483)
评论(2)
推荐(0)
浙公网安备 33010602011771号