static void Main(string[] args)
{
float a,b;
Console.Write("ENTER THE NUMBER TO BE CHECKED ");
a= float.Parse(Console.ReadLine());
b= a%2;
if (a>0)
if (b>0)
Console.WriteLine("THE NUMBER IS POSITIVE AND ODD");
else
Console.WriteLine("THE NUMBER IS POSITIVE AND EVEN");
else
if (b<0)
Console.WriteLine("THE NUMBER IS NIGATIVE AND ODD");
else
Console.WriteLine("THE NUMBER IS NIGATIVE AND EVEN");
}