Factorial calculator – #WSQ09 #TC1017

The only problem I had is that the first time my program gave me the result 0 when I asked for 0!(which is 1), but then I fixed with an “If” loop into the “for” loop.

Here’s the code: WSQ09

[The credit of this image belongs too https://flic.kr/p/qag4GQ]

CC BY 4.0 Factorial calculator – #WSQ09 #TC1017 by Eduardo Torres is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.