摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Test{ class Program { //递归计算中的两种模式 //1:通过递归来获取最后一项的值(与前面的每个递归结果都没有关联) //2:通过递归来获取整个递归过程中的总和 //注意:递归算法中的循环结束点判断条件,递归算法中的递归完成之后,其中的变量的作用域判断。 static void Main(string[] args) { Console.WriteLine("1:题目要求:1-2+ 阅读全文
posted @ 2012-11-19 12:23 snowhumen 阅读(336) 评论(0) 推荐(0)