Hi..can anybody give coding for:

user input number of random number to generate.
then, add it to array.

the output like this:

array A = [ 1 2 2 3 4 5 6 2 2]

array B = [ 1 2 3 4 5 6 ]

*the repeat number in array A will not be display again in array B

now im still doing coding for it..