C语言循环和递归求阶乘详解 循环求阶乘 递归求阶乘 循环求阶乘 #include<stdio.h> #include<stdlib.h> int Factorial1(int a) { //求a的阶乘 int sum = 1;//定义一个变量存储阶乘值 for (int i = 1; i