Can someone help me to make a program in java:
1. Generate 2 rows of 50 random numbers (int) from 0 to 99.
2. Search the numbers that appear in the first row, but not in the second, and numbers that appear in the second row but not in the first. Print the result.
Help someone, please?
By now I have this:
Code:
import java.util.Random;

public class RandomNum {
	int i, j;
	int AllNumbers[][] = new int [2][50];
	AllNumbers[50] = new int[50];
	AllNumbers[50] = new int[50];
	for (i=0; i<=50; i++){
		for (j=0; j<=50; j++){
			AllNumbers[i][j] = RandomNum.nextInt (100);
			System.out.println(AllNumbers[i][j] + " ");
			}
		}
	}
More help please?
}