如题所述
.写一个求切的阶乘函数fac,在主函数中输入整数m n,调用函数fad,利用公...include<stdio.h>int fac(int n){int f=1; while(n>1) f*=n--; return f;}int main(){ int n,m; scanf("%d%d",&n,&m); printf("%d\\n",fac(m)\/(fac(n)*fac(m-n))); return 0;}