by virnuls
See inside

Enter an integer and the cat will tell you its factorial.

Notes and Credits

This is an example of using blocks for recursion. As Scratch blocks are procedures and don't return values we need to use an additional variable to keep track of the value of the factorial - you wouldn't need to do that if using a language such as BASIC, Python or JavaScript.

Shared: 26 Sep 2017 Modified: 26 Sep 2017
Favorite this project 0
Love this project 0
Total views 11
View the remix tree  1
More projects by virnuls