C Program To Find Factorial of a Number using While Loop

Опубликовано: 02 Ноябрь 2024
на канале: Technotip
22,296
234

http://technotip.com/6759/c-program-t...


Write a C program to find Factorial of a user input number, using while loop.

Factorial of a number is the product of all the numbers preceding it. For example, Factorial of 5 is 120 (1 x 2 x 3 x 4 x 5 = 120).

In general, n objects can be arranged in n(n – 1)(n – 2) … (3)(2)(1) ways. This product is represented by the symbol n!, which is called n factorial. By convention, 0! = 1.

C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programmi...

C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programmi...