In this code, we tried to make a factorial calcultor. It was easy, I made a function and I put it inside a DO WHILE loop, the type of the function was long, it returned the factorial of the number that the user gives, this value was also long. At the end of the operation, the program asks to the user if he wants to calculate another number’s factorial, while his option is yes (y), the program will ask again for another number.

Here is a source where I found help: http://es.ccm.net/forum/affich-1284727-sacar-el-factorial-de-un-numero-con-c

WSQ09

Here is the link to GitHub: https://github.com/tonygarciavz/A01630861-TC1017.git

CC BY 4.0 #WSQ09 by tonygarciavz is licensed under a Creative Commons Attribution 4.0 International License.