private static void RecursionAlgorithm(int end) { int a = 1, b = 0, c = b; while (true) { c = a + b; a = b; b = c; Console.Write(c + " "); if (c > end) break; } }
标签:span write end ati 图片 规则 递归 color alt
private static void RecursionAlgorithm(int end) { int a = 1, b = 0, c = b; while (true) { c = a + b; a = b; b = c; Console.Write(c + " "); if (c > end) break; } }
递归按照1 1 2 3 5 8 13 21 34 55规则写出算法
标签:span write end ati 图片 规则 递归 color alt
原文地址:https://www.cnblogs.com/aaaaq/p/8296385.html