Posts Tagged: program to find factorial of any number

C program to print factorial of any number by using while loop.

Let’s write a program which print factorial of any number.   Step 1: Let’s open turbo c and write the following code.   // Add preprocessor #include<stdio.h> #include<conio.h> void main() { int  n,i=1; long int  fact=1;   // Clear screen… Continue Reading →