Rekursif : Calculating the Value Program with Recursive Factorial (Program Menghitung Nilai Faktorial dengan Rekursif)
In mathematics, the factorial of n natural numbers is the result of multiplication of positive integers less than or equal to n. Factorial written as n! and is called n factorial.
For example, 5! is worth 5×4×3×2×1 = 120.
The definition is recursive, which is defined for n>= 0
C++ is recursively defined as follows
referensi :
Jadilah yang pertama mengomentari
Post a Comment