C++ Programming From Problem analysis to program design Third Edition D.S. Malik
Consider the following function main:
int main ()
{
int inStock[10] [4] ;
int alpha[20] ;
int beta[20] ;
int gamma[4] = {11, 13, 15, 17} ;
int delta[10] = {3, 5, 2, 6, 10, 9, 7, 11, 1, 8} ;
.
.
.
a. Write the definition of the function setZero that initializes any one-dimensional array of type int to 0.
b. Write the definition of the function inputArray that prompts the user to input 20 numbers and stores the numbers into alpha.
c. Write the definition of the function double Array that initializes the elements of beta tow two times the corresponding elements in alpha. Make sure that you prevent the function from modifying the elements of alpha.
d-i pg. 545
the list goes on from their but I need help. I am so lost with this programming assignment need help