#include
//求1*2*3...*n的值?
int
main(void) {
int
i,n,p;
scanf("%d",&n);
for(i=1,p=1;i
{ p
= p*i;
printf("%dx",i);
}
printf("%d=%d",i,p*i);
return
0;
}
Copyright © ~派大日誌~. All rights reserved.
Blogger templates created by Templates Block
Wordpress theme by Cobus Bester
0 意見:
張貼留言