Program Nilai Faktorial By meldiya's_book 22:22 // No comments #include main() { int n,i=1,fak; fak=1; printf("Masukan jumlah data= ");scanf("%i",&n); while (i<=n) { fak= fak * i; i=i+1; } printf("Nilai fak= %i",fak); } Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment