Question: #include using namespace std; int main ( ) { const int NUM _ VALS = 4 ; int userValues [ NUM _ VALS ] ;
#include
using namespace std;
int main
const int NUMVALS ;
int userValuesNUMVALS;
int i;
int matchValue;
int numMatches ; Assign numMatches with before your for loop
cin matchValue;
for i ; i NUMVALS; i
cin userValuesi;
Your solution goes here
cout "matchValue: matchValue numMatches: numMatches endl;
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
