C Programming- C Program to Find Factorial of a Number
#cprogramming #shorts #code
C Programming- C Program to Find Factorial of a Number
This program takes a positive integer from the user and computes the factorial using for loop.
Since the factorial of a number may be very large, the type of factorial variable is declared as unsigned long long.
If the user enters a negative number, the program displays a custom error message.