I have seven words in the array:
string[7] = {x,x,x,x,x,x,x};
the x is generated from another array:
string[4]={a,b,c,d};
that means each x can be either a or b or c or d. It is randomly generated. this could be an example:
string[7]= {a,a,d,a,a,c,a}
my question is how can I check if there are five x which has the same value?
This is for a poker app Im working on.