<!--打赏 End-->
摘要: 素数 class Program { public static void GenPrimes(int[] arr) { bool flag = true; for (int i = 2; i < arr.Length; i++) { for (int j = i+1; j < arr.Length 阅读全文
posted @ 2017-11-20 22:29 mikefts 阅读(205) 评论(0) 推荐(0) 编辑
摘要: class Program { enum DigitType { ones=1,tens=10} static void DisplayArray(int[] n) { for (int i = 0; i <= n.GetUpperBound(0); i++) { Console.Write(n[i 阅读全文
posted @ 2017-11-20 21:47 mikefts 阅读(115) 评论(0) 推荐(0) 编辑