Factorial Calculator

--Originally published at PZ

This was a very challenging programm for me because I hadnt used Do and While before, I have just used If and Else. So I try to make this factorial calculation with Do and While, so I first searched the structure of this and I found this page.

https://www.programarya.com/Cursos/C++/Ciclos/Ciclo-Do-While

After that I tried to make a formula to calculate the factorial of a number, so I reviewed the formula that I used in sum of numbers and I used as a base with for.

Finally I had problems with the while because I didnt used a string for the variable so I asked Ken and he helped me to finishmy programm.