Computer Science, asked by devanandprasad9592, 6 months ago

Program for a factorial of a given number using for loop

Answers

Answered by Anonymous
3

Answer:

vuvuvivihkgigftsrstdyfugigihobicifufufufugucucivivivivivivivibivovovigivuvigufufufucuxufbkkkhdayxcufugig kvucucivivivivicivig dfgvjvigigihihiviviv

Answered by rahmanbinjaffar
1

Answer:

#include<stdio.h>

int main()

{

   int n,i;

   fact = 1 ;

   scanf("%d",&n);

   for(i=1;i<=n;i++)

   {

       fact = fact * i;

   }

   printf("%d",fact);

}

Explanation:

Mark as brainliest : )

Similar questions