摘要: 编程语言中,函数Func(Type a,……)直接或间接调用函数本身,则该函数称为递归函数。 例:输入 5 1 2 3 输出 11 不使用递归的方法,使用if......else... #include <stdio.h> #include <string.h> #include <math.h> 阅读全文
posted @ 2020-12-14 16:11 堕落的黑天使 阅读(184) 评论(0) 推荐(0) 编辑