Question: The language required is C++. Integer numInputs is read from input. Given the integer vector dailyScores with the size of numInputs, write a for loop

The language required is C++.
Integer numInputs is read from input. Given the integer vector dailyScores with the size of numInputs, write a for loop to initialize the first half of dailyscores with the remaining integers read from input. Ex: If the input is 6 627190 then the output is: 627190000 Note: The vector size is always even
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
