[QUOTE=Appu14;74339]hi . The code is

class Ifelsetest
{
public static void main(string args[])
{
int number []={50,34,87,19};
int even=0,odd=0;
for(int i=0;i<number.length; i++)
{