-
The method generate() will produce integer arrays of arandom size between 10 and 20 members.
-
The method print() will print out the members of aninteger array input.
-
The method insert() will accept two arrays as inputs. Itwill produce a new array long enough to contain both arrays, andboth input arrays should be inserted into the new array in thefollowing manner: select a random member of the first array, andinsert every member of the second array in before the first array.Thus, output should look like this (with smallerarrays):
Input 1: {1,2,3,4,5,6} Input 2:{10,11,12,13}
Output: {1,2,3,10,11,12,13,4,5,6}
-
The method shorten() should accept an input array
OROR