i want to cout the elements on the array subjs[] which are repeated more than (n)this code has something wrong as it repeats the outputs how to stop repeating them . and only using <iostream> <strings> allowed.
example
output w
hich i see for example:
jamie
sandy
john
sandy
sandy