Solution Review: Compute Factorial of a Number
Explore how to write a recursive function in Go to calculate the factorial of numbers between 0 and 21. Understand the importance of base and recursive cases and practice looping through inputs to produce correct outputs.
We'll cover the following...
We'll cover the following...
In main, we are calling function Factorial for numbers between 0 and 21 inclusively using for loop at line 7, and printing the result ...