Computer Science, asked by teenakhanduri6, 6 months ago

write an algorithm to find factorial of a given number using for loop​

Answers

Answered by Snehpriyanshu
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