For this task i had to make a program that calculates the factorial of a given number, and of course to create a function.
The code i wrote is this: https://github.com/sabaldaba/TC101/blob/master/Wsq09-Factorial
The program at the end also gives you the option of doing another operation or to end, this was done thanks to a while loop while the factorial calculator was done with a for loop since in there i knew a specific range.
Hope you like it!
Factorial Calculator by fersabal is licensed under a Creative Commons Attribution 4.0 International License.