1 Write a program that inputs integers from the keyboard (no limit to the entries; end by entering 0), and lists the even numbers and then lists the odd numbers.


int odd =0;
int even =0;
int entry=1;

//get input
while (entry !=0)

{System.out.println("Enteryour integers.");
System.out.println("Enter 0 to exit the program.");
entry = MyInput.readInt();



i know how to get the numbers nut not how sepperated the numbers odd from even