1) write a maxdiff function which returns the maximum difference between any two values in the array. this function should accept all required data as parameters. examples if the array is 14 12 11 17 19 the maximum consecutive difference is 8 which is the difference between 11 and 19. if the array is 20 26 23 13 17 the maximum consecutive difference is 13 which is the difference between 26 and 13.



Answer :

Other Questions