Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What's the efficient way to write factorial function?

user-image
Question ajoutée par Utilisateur supprimé
Date de publication: 2014/04/01
Ram Prakash M
par Ram Prakash M , Software Engineer , Calsoft Labs India Private Limited

Recursive Method is the best way

Maher Alsilwy
par Maher Alsilwy , CONSULTANT , B7R DESIGN WWW.B7RDES.COM

I guess the best way would be creating a separate function to calculate the factorial either using the regular way or recursively

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?