Php

saltintop Sahin Altıntop
<?php
function faktor($i){
  if($i != 0) return $i * faktor($i-1); 
  return 1;
}

echo faktor(hesaplatacağın sayı);

?> 



27-04-2011 23:30

    www.Phpkodlari.com © 2009 Herkes Php öğrenecek
    Web tasarım ve eğitim kaynağınız.