Answer:
#include<iostream.h> //this is also written on the place of "include".
//Below are the code which is written on the place of "your solution goes here"
for(i=0;i<NUM_VALS;i++)
//for loop which runs for the size of the array to scan the element.
{
cout<<origList[i]-offsetAmount[i]<<"\t"; //scan the element print the difference.
}
Output:
Explanation: