C Program to Calculate Factorial
This C program prompts the user to enter a number and calculates its factorial using a while loop. The factorial is computed by multiplying the number by all positive integers less than it until it reaches 1.Leave a Comment