https://www.52fb.cn輸出結果?
#include<stdio.h>int main(){int i,a[11]={1};for(i=1;i<=10;i++){a[i]=a[i-1]*i;if(a[i]%10==0)printf("%d ",a[i]);;}return 0;}
https://www.52fb.cn輸出結果?
#include<stdio.h>int main(){int i,a[11]={1};for(i=1;i<=10;i++){a[i]=a[i-1]*i;if(a[i]%10==0)printf("%d ",a[i]);;}return 0;}