using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Factorial
{
class Program
{
static void Main(string[] args)
{
int i, n, fact = 1;
Console.WriteLine("Enter a Number");
n = Convert.ToInt16(Console.ReadLine());
for (i = 1; i <= n; i++)
{
fact = fact * i;
}
Console.WriteLine("Factorial of {0} is {1}",n,fact);
Console.ReadKey();
}
}
}
Wednesday, April 3, 2013
Subscribe to:
Post Comments (Atom)
Thanks for sharing use interview questions on .Net technology. While preparing for my job interview, your article helped me a lot to sharpen my skills and do well in my interview. one of trainer from leading dot net training institutes in Chennai suggests me about your site.
ReplyDeleteNice blog and it was very interesting,Pretty article! I found some useful information in your blog, it was awesome to read,
ReplyDeleteDot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery
betmatik
ReplyDeletekralbet
betpark
tipobet
slot siteleri
kibris bahis siteleri
poker siteleri
bonus veren siteler
mobil ödeme bahis
UHF
شركة تنظيف شقق بجازان iw12NRAGbJ
ReplyDelete