...

/

Factorial and Recursion

Factorial and Recursion

We'll cover the following...

Now that we have conditionals, we can start to put together more sophisticated programs than we’ve seen so far. Let’s write a function to compute factorials. Factorials multiply all the numbers down to 1. For example, the ...