Answer:
The code to this question can be given as:
Code:
int lastVector = newScores.size() -1; //define variable lastVector that holds updated size of newScores.
newScores = oldScores; //holds value.
for (i = 0; i < SCORES_SIZE - 1; i++) //define loop.
{
newScores.at(i) = newScores.at(i+1); //holds value in newScores.
}
newScores.at(lastVector) = oldScores.at(0); //moving first element in last.
Explanation:
- In the given C++ program there are two vector array is defined that are "oldScores and newScores". The oldScores array holds elements that are "10, 20, 30, 40".
- In the above code, we remove the array element at first position and add it to the last position. To this process, an integer variable "lastVector" is defined.
- This variable holds the size of the newScores variable and uses and assigns all vector array elements from oldScores to newScores. In the loop, we use the at function the removes element form first position and add in the last position.
- Then we use another for loop for print newScores array elements.
Answer:
Logical flow
Explanation:
In speech writing, LOGICAL FLOW can be defined as all aspects of your writing that helps the reader move smoothly from one sentence to the next, and from one paragraph to another.
With the Logical flow, one will be able to guide his thoughts coherently and sequentially in which Readers can fully absorb and easily understand the message.
Green marketing<span> is the </span>marketing<span> of products that are presumed to be environmentally preferable to others.Thus </span>green marketing<span> incorporates a broad range of activities, including product modification, changes to the production process, sustainable packaging, as well as modifying advertising.</span>
Answer:
The greater the number of exchanges are there greater is the complexity of the algorithm. Thus it is a measure to check for the complexity of the program.
The answer to the fill in the blank is a USB