You are here:   HomeC Programming (Pratical)Calculate the value of Factorial
by Dinesh Thakur Category: C Programming (Pratical)

This program is for finding the factorial of N number. Two integer type variables declared with static value one of them. Here to user enter the value for finding the factorial. Then loop statement for stepping forward to find the result and (f*I) and at last to print the output on the display.

Problem Statement:
This is C Program that has to find the factorial of N numbers.

  1. Enter the numbers.
  2. Using loop statement.
  3. Display result on the screen.

Here is source code of the C program that has to find the factorial of N numbers. The C program is successfully compiled. The program output is also shown below. 

void main()
     int num,i,f=1;
     printf("Enter the a Num : ");

Calculate the value of Factorial

Search Content

Advance Courses

Basic Courses

Advertise with Us