Answer:
Replace /* Your code goes here */ with
for(i =0; i<NUM_VALS; i++)
{
printf("%d", origList[i]*offsetAmount[i]);
printf(";");
}
Explanation:
The first line is an iteration statement iterates from 0 till the last element in origList and offsetAmount
for(i =0; i<NUM_VALS; i++)
{
This line calculates and print the product of element in origList and its corresponding element in offsetAmount
printf("%d", origList[i]*offsetAmount[i]);
This line prints a semicolon after the product has been calculated and printed
printf(";");
Iteration ends here
}
You can just put “/“ to represent dividing
David Rosen is the CEO and lead programmer of Wolfire games. some of their games include Overgrowth, Desperate Gods, and Receiver.
I do not know the answers sorryy