GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 11 von 16 · Medien

Factorial function

Kostas Diakogiannis

Factorial function

F-6 The factorial function

Write a function that accepts a single number as parameter and returns it's factorial number. Factorial number is the product of all multiplications from number to 1 to the number itself.

For example. Factorial of 5 = 1 * 2 * 3 * 4 * 5 = 120

factorial of 4 = 1 * 2 * 3 * 4 = 24 etc.

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck