ITEC 136 Homework 8 Write a function called applyFunction that receives an array (arr) and a functio

ITEC 136 Homework 8

 

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

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

 

 

We are the Best!

course-preview

275 words per page

You essay will be 275 words per page. Tell your writer how many words you need, or the pages.


12 pt Times New Roman

Unless otherwise stated, we use 12pt Arial/Times New Roman as the font for your paper.


Double line spacing

Your essay will have double spaced text. View our sample essays.


Any citation style

APA, MLA, Chicago/Turabian, Harvard, our writers are experts at formatting.


We Accept

Secure Payment
Image 3