Write a Java program that asks the user for 100 values (or generates these randomly) and stores and displays only the distinct values. Hint: use an array to store and display these values.
For full credit:
-Make sure you are validating the data (non-zero and positive values that are in range 1 thru 50-inclusive of bounds), if these values are entered by the user. This doesn't apply if you generating these values randomly.
-use javadoc comments for title and methods
-structured solution with more than one or two methods
-you are not allowed to use Arrays class or any other collection classes from Java API.