//Program to print Negative, Positive, Even and Odd numbers from the array.
import java.util.Scanner;
public class PrintNumsFromArray
{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
System.out.println(" Enter the size of the array:");
int n=sc.nextInt();
System.out.println(" Enter the elements of the array:");
int a[]=new int[n];
for(int i=0; i