#include<iostream>
using namespace std;
int main(){
//1.计算阶乘
int sum=1;
int i=1;
while(i<=15){
sum*=i;
i++;
}
cout<<sum<<endl;
system("pause");
}
6、求15 的阶乘
猜你喜欢
转载自blog.csdn.net/qq_30272539/article/details/81194061
今日推荐
周排行