using System;
class Break
{
public static void Main()
{
int incr,sum,num;
Console.WriteLine("Enter 5 Numbers:");
for(sum=1,num=incr=0;incr<5;incr++)
{
num=Convert.ToInt32(Console.ReadLine());
if(num<=0)
continue;
sum=sum*num;
}
Console.WriteLine("The Product of Above numbers is:{0}",sum);
}
}
class Break
{
public static void Main()
{
int incr,sum,num;
Console.WriteLine("Enter 5 Numbers:");
for(sum=1,num=incr=0;incr<5;incr++)
{
num=Convert.ToInt32(Console.ReadLine());
if(num<=0)
continue;
sum=sum*num;
}
Console.WriteLine("The Product of Above numbers is:{0}",sum);
}
}
need help. [v.n.kulkarni@gmail.com]