Set num Matches to the number of elements in userValues (having…

Question Set num Matches to the number of elements in userValues (having… Image transcription text1) Set num Matches to the number of elements in userValues (having NUM_VALS elements) that equalmatchValue. Ex: If match Value = 2 and user Vals = {2, 2, 1, 2), then numMatches = #include intmain(void) { const int NUM_VALS = 4; int userValues[NUM_VALS]; int i = 0; int match Value = 0; int… Show more… Show more Engineering & Technology Computer Science Share QuestionEmailCopy link This question was created from 1)Set numMatches to the number of elements in userValues (having N.docx Comments (0)