Answer:
The answer is "minVal - userVals.at(0); /userVals.at(i) < minVal "
Step-by-step explanation:
In the question, it uses minVal instead of XXX to hold the very first arra(userVal) element, and rather than YYY you choose a conditional statement to check which integer is lower than minVal to index of loop increment. It changes the value of the minVal if the condition is valid. It's completely different if we talk about another situation.