Question: Why is this only printing the z array how can I print x, y and z arrays? I have attached my work and the question
Why is this only printing the z array how can I print x, y and z arrays?
I have attached my work and the question

Q4. Write a function which does the following: - Accepts an integer, n as its input. - returns an array, x, containing the numbers from 1 to n - returns an array, y which is the same size as x but filled with 1 's - returns an array, z, containing the numbers from x in reverse order - prints out the values in these arrays in the command window using th fprintf command
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
