I'm writing a program that will display a random string of array, but it would likely repeating the chosen array for a short time.
Ex.
Program: two
user: odd
Program: Right.
two
.............sometimes the same string will appear for about 2-3 times before choosing another different array.
I want the program to choose a string once and never repeat the chosen string again. If the parameters are all already chosen, then it must terminate. Can you help me how to do this? Thanks.
ps:
can you just edit my code, chances are I can't understand enough what you'll explain :)