请选择要执行的功能
通过for循环计算阶乘通过while循环计算阶乘通过do-while循环计算阶乘结束程序运行
5!=120
#include <stdio.h>
int main() {
int n = 5, i, result = 1;
// for循环实现
for (i
请选择要执行的功能
通过for循环计算阶乘通过while循环计算阶乘通过do-while循环计算阶乘结束程序运行
5!=120
#include <stdio.h>
int main() {
int n = 5, i, result = 1;
// for循环实现
for (i