WSQ06 – Factorial Calculator

Today, I created a program where the user gives me a number and I calculate its factorial.

Now Im making every code with functions.

The only thing I used was a for and a loop, to ask the user if he or she wants to keep the program running or if he/she wants to get out of there.

Just for advice, becareful in where you type the {} the position matters a lot.


wsq06-1wsq06-1


And the result is

wsq06-1

 

I want to say thanks to my classmates and the people that helped me without realizing, like this two web pages:

 

https://www.trucoswindows.net/forowindows/temas/variable-a-usar-para-texto-c.52540/


Leave a comment