Question: Description: For this assignment, you will write a program with an array of 1 0 values collected from the user. Pass the array to a
Description: For this assignment, you will write a program with an array of values collected from the
user. Pass the array to a function and multiply each value by its index or position in the array. Store the
product in a new array and display the value. See the sample test data for examples.
Requirements:
Your array must contain elements. Collect these from the user.
Print the original array to the console.
Create a function and pass the original array to it as a parameter.
Multiply the values of the original array by their index and store the product in an array local to
your function.
Print the second array with the multiplied values to the console.
Program must be documented with:
aName
bDate
cProgram Name
dProgram Description
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
