[SOLVED] ITEC 136 Homework 8  Solved                            

25.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Homework8.zip (1.4 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (4 votes)

  

  1. Write a function called applyFunction that receives an array (arr) and a function (func) as a parameter.  The applyFunction code should then repeatedly call the parameter function on each element in the array, storing the result back into the array at the same point.  See the example below for how the call to applyFunction should work:

 

  1. Write a function called appendArray that receives two arrays (arr1 and arr2) as parameters.  The function should use a loop append all the elements of arr2 on the end of arr1.  You may not use any method of the Array class that will perform the operation for you in one step (i.e. the concat or join methods. See the example below for how the call to appendArray should work:

 

  • Homework8.zip