The traditional way would be for every user input, I would check an array if the number already exist or not. If exist, I don't put into the array else I put into the array.
Then after 10 numbers, I just output the array of numbers which is confirmed non-repeated.