Question: 3. Write a C program that declares and initializes two integer arrays x and y. They should have at least 5 elements. You are required
3. Write a C program that declares and initializes two integer arrays x and y. They should have at least 5 elements. You are required to compute float array z such that each element of 2 is the average of the corresponding elements in x and y. Your output should look something like following: Input Array x: 1-1 2 5 3 -5 61 Input Array y! 1-7 8 23 13 23 28) Output Array z: [-2.00 5.00 14.00 8.00 9.80 17.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
