C# 求N的阶乘-递归深度讲解
摘要:
static void Main(){Console.WriteLine("P(n) n equal 0:"); Console.WriteLine("result:{0}", P(0)); Console.WriteLine("P(n) n equal 1:");Console.WriteLine("result:{0}", P(1));Console.WriteLine("P(n) n equal 2:");Console.WriteLine("result:{0}", 阅读全文
posted @ 2013-11-09 17:43 小马哥~程序之美 阅读(1412) 评论(0) 推荐(0) 编辑