Kamis, 10 April 2014

Membuat fungsi faktorial secara rekursif untuk mencari n!

Analisis :

kasus penyetop (= nilai awal) n=0 atau n = 1 yaitu bernilai konstan 1

      n*faktorial (n-1)

Flowchart :


 


 

0 komentar:

Posting Komentar

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | coupon codes