Exercise 1: Write a function template midElement that takes an array A and its dimension N and returns the middle element of the array. In the main function, call the function template midElement to 1) an integer array of integers with 4 elements 2) An array of doubles with 5 elements and 3) an array of characters which dimension is entered by the user
You have a situation in which you have 2 lists List1, and List2 with length L1
and L2 implemented as arrays. Write two member functions MergeEven that
will merge the even elements from both lists into one list EvenList and
MergeOdd that merges the odd elements from both lists into a list OddList.