Anonymous
public text v1 · immutable public static void main(String[] args)
{
Scanner kbd = new Scanner(System.in);
System.out.print("Enter the number of numbers you wish to enter: ");
int size1 = kbd.nextInt();
int num1[] = new int[size1];
System.out.println("Enter the numbers for the array: ");
read(num1);
int evenCount = countEven(num1);
int evenArray[] = new int[evenCount];
print(getEven(num1,evenCount));
}