On this WSQ I had to make a factorial calculator and ask the user if he wanted to do another factorial number or if he wanted to quit the program. It was more or less hard for me to do this WSQ because I’m still having trouble with wile loops.

Here is a photo of the code:

wsq09.1

Here is a photo of the program run in Cygwin:

wsq09.2

CC BY 4.0 WSQ09 – Factorial Calculator by diegoalatorre is licensed under a Creative Commons Attribution 4.0 International License.