I have one more question today that I was hoping everyone would be able to help me with:

I need to write a program that randomly generates 100 integers between 0 and 25. Then (using class methods) I need to sort the odd integers and even integers into separate arrays.

Here is the code I currently have...BUT there are probably errors and it's only about halfway finished!

public class Unit8Assignment { public static void main(String[] args) { double[] randomNumbers = new double[100]; for (int i = 0; i < randomNumbers.length; i++) { randomNumbers[i] = (int) (Math.random() * 26); } oddEven( random Numbers[i] ); } public static int oddEven( random Numbers[i]) { double[] even; double[] odd; //Even Numbers if ( ( randomNumbers[i] % 2 ) == 1 ) { continue; } randomNumbers[i] = even; //Odd Numbers if ( ( randomNumbers[i] % 2 ) == 0 ) { continue; } randomNumbers[i] = odd; System.out.print( even + " " ); System.out.print( odd + " "); } }

Anyone who can help -- it would be GREATLY appreciated!