Yes I did. I just don't know how I would convert/implement that into my program to output random numbers.
You first have an array of ints. Size of this array will be the numbers of words that you want to display. You initialize all the elements of this array to 0. Suppose your data consists of 4 words that. You create an array of 4 ints all initialized to 0.
According to the algorithm, you now choose a random number between 1-4. Suppose you choose 3, you print the 3 word and you make arr[2]=1 ie this word has already been displayed should not be displayed again.
Now you choose a random number between 1-3. Suppose you choose 3, you will print the word corresponding to arr[3] (word corresponding to arr[2] is already printed, so you should not include arr[2] when you count upto 3)
I hope this make it clear