write an algorithm to find factorial of a given number using for loop
Answers
Answered by
8
Explanation:
Factorial C program,Algorithm,Flowchart
- int main()
- int n,i,fact=1;
- printf("Enter any number : ");
- scanf("%d", &n);
- for(i=1; i<=n; i++)
- printf("Factorial value of %d = %d",n,fact);
Similar questions
English,
5 months ago
Math,
5 months ago
English,
10 months ago
Computer Science,
10 months ago
Chemistry,
1 year ago