using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pdoffsttenevennum
{
class Program
{
static void Main(string[] args)
{
int Num, pd;
Num=2;
pd = 1;
int i = 0;
for(i=0;i<=9;i++)
{
pd = Num * pd;
Num = Num + 2;
}
{
Console.Write("Display the Product of First Ten Even Numbers:"+pd);
}
Console.ReadLine();
}
}
}
No comments:
Post a Comment