We're supposed to create a program where the user will enter x, y and z values and the number of points they want to find, then the program will take the x, y and z values and create a range (-xlength to +xlength, -ylength to +ylength, -zlength to +zlength). From that range, the program will return random 3D data points (however many the user wanted) stored in a 3D array.

Im confused on how im going to get the range from the 3D array and randomize a number within it, then output the data point.
(Sorry if it doesn't make much sense, im really confused myself) 

Can someone please explain to me what needs to be done or how im should properly use 3D arrays to complete this?

PS. Im using java