#include#includeusing namespace std;int Fac(int n);int main(){ int a,b,c; cout<<"输入3个数:"< cin>>a; Fac(a); int p=Fac(a)+Fac(b)+Fac(c); cout< return 0;}int Fac(int n){ int i,sum=1; for(i=1;i<=n;i++){ sum*=i;} return sum;}
return 0;}int Fac(int n){ int i,sum=1; for(i=1;i<=n;i++){ sum*=i;} return sum;}