WSQ06.Factorial-lml.

More loops!! Haha I actually forgot how to do some loops, but thanks to Sergio, I could remember that exist the loop of DO.

The assignment  was to ask the user a non-negative number to find its factorial number. It doesn’t specify if it has to be done as a function or not, but I decided to do it as a function.

Here is the code:

wsq06

It wasn’t that hard, but like I said before, I forgot that I could do a loop with DO.

Thanks for reading.

2 thoughts on “WSQ06.Factorial-lml.

Leave a comment