10!用C語言怎麼寫?
#include<stdio.h>
main()
{
long i,n=10,a;
scanf("%ld",&a);
for(i=1;i<=a;i++) n=n*i;
printf("%ld\n",n);
}
http://wenku.baidu.com/link?url=SifZdsDiguESsI7n1X6hnYldhHGxNrZKu8mVwNnQRs4A72PGkklGqpWMLUXo6RddBjp1jZQsCg_gfYVA5daFPEAEBgw_NbH7toSE1Tj0WnG