Answer :
Answer:
add new for each loop:
for (int i : userValues)
if(i == matchValue) numMatches++;
this goes through every userValue and check if it matches match Value.
if it does, then increment numMatches.
Answer:
add new for each loop:
for (int i : userValues)
if(i == matchValue) numMatches++;
this goes through every userValue and check if it matches match Value.
if it does, then increment numMatches.