Question: this is c programming CHALLENGE 5.5.1: Multiple arrays ACTIVITY Reset Multiply each element in origList with the corresponding value in offsetAmount. Print each product followed
this is c programming

CHALLENGE 5.5.1: Multiple arrays ACTIVITY Reset Multiply each element in origList with the corresponding value in offsetAmount. Print each product followed by a space Ex: If origList- (4,5,10,12) and offsetAmount 2,4,7,3),print 8 20 70 36 4. const int NUM_VALS-4 5 int origList [NUM_VALS]; 6 int offsetAmount [NUM VALS] int i; 9 origlist[0]- 20; 10 origlist[1] 30; 11 origlist[2)-40; 12 origlist[3] 50; 13 14 offsetAmount[]4; 15 offsetAmount[1] 6; 16 offsetAmount[2] 2; 17 offsetAmount [3]8; 18 19 20 21 printf( In") Your solution goes here/ 23 24 return 0; 2 Check Try again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
