Factorial Of Given Number in c#:
int factnumber = 6;int fact = 1;
for (int i = factnumber; i > 0; i--)
{
fact = fact * i;
}
Console.WriteLine("\nFact :" + fact);
Dot Net Funda provides content about Dot Net Concept From Bsic to advance. 1. Small Program/code 2.Problem Solution (Post your Problem and get solution of your problem) 3. Give suggestion about our Post.