Fullscreen Pageflip Layout with BookBlock
Create a method that inserts an element to a specific index of an array. This method has three parameters: an array, an index and a number to insert. Use the main method to print the array before and after the insertion. (Hint: arrays have fixe size; you must create a second array that is bigger than the first)
Fullscreen Pageflip Layout with BookBlock
Example of the output:
Array before insertion:
1
5
4
7
9
6
Array after insertion of 15 at position 3:
1
5
4
15
7
9
6