* --Originally published at Blogging through my thoughts*

Hello, curious readers! Welcome to my sixth program, which is very interesting. Basically , it´s a factorial calculator. A factorial is the result of multiplying a sequence of descending natural numbers down to 1 (such as 4 × 3 × 2 × 1).

-For example : 4! = 4 × 3 × 2 × 1 = 24

In this program below, user is asked to enter a POSITIVE integer. Then the factorial of that number is computed and displayed in the screen. Specifically in my program , I found the factorial of a non-negative integer (entered by the user) using recursion.

Remember that a function that calls itself is known as a recursive function. And, this technique is known as recursion.

- Helpful resources:
- https://www.programiz.com/cpp-programming/examples/factorial
- https://www.programiz.com/cpp-programming/examples/factorial-recursion

Hope you find my code useful.