<span>When an online company runs a special promotion on swimsuits during the summer, they are taking advantage of the concept of p</span>eople’s urge to go for swimming to beat the summer heat and keep themselves cool. As a result, they are very likely to buy more swimsuits to go swimming.
With a special promotion on swimsuits, people are likely to buy the company’s merchandise. This is because they can get what they want by paying a lesser amount than usual. In turn, the company is able to benefit by making more sales than its online and retail competitors.
Answer:
The statement for the question is following:-
a[j]=a[j+1]*2;
Explanation:
We have to modify the element at the index j.Since the value of j is between 0 to 3 and the vector contains exactly 5 elements.So j will not exceed the size of vector a.
Now what we have to assign the value at index j is the value double at index next to j that is j+1.So the statement will be
a[j]=a[j+1]*2;