Factorial of a number using common way
#include<stdio.h>
int main()
{
int i,fact=1,n;
printf("enter the number:");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
fact= fact*i;
}
printf("%d=%d",n,fact);
}
I am a recent graduate eagerly looking for new experiences. With a solid foundation in Python, R Programming, SQL, Tableau, and Java, I am well-equipped to tackle diverse technical challenges. I enthusiastically embrace life's surprises, always eager to learn and experience something new. If you have any new opportunities or activities, please invite me—I am excited to explore them!
Comments
Post a Comment