Code:hallo ever body i have these problems which i could not able to solve it if any one can help me i than him or her.. Exercise 1 (w = 1.5 points). Write a C++ program with two arrays of size 11: Array1 and Array2. Each array contains integer numbers randomly generated (see lab 7 for random number generation in C++). A third array of the same size is called Result and should contain the result of an arithmetic operation performed on Array1 and Array2 as follows: if the index is even then the value stored in that element is the sum of the numbers in the same index in Array1 and Array2 if the index is odd then the value stored in that element is the product of the numbers in the same index in Array1 and Array2. The program should then print the values in the three arrays where each array is separated by a line. The output should look like this: Array1: 5 6 3 0 7 5 3 11 2 6 12 Array2: -3 11 2 52 8 19 7 2 3 7 3 Result: 2 66 5 0 15 95 10 22 5 42 15 Exercise 2 (w = 3 points). Write a C++ program that has an array of integers. The maximum size of the array is 100. The program should ask the user to enter the number of elements to be stored in the array, then the program should ask the user to enter that many numbers to be stored in the array as they are entered. The program should call a function (putInOrder) to rearrange the numbers stored in the array such that they are stored in the array in increasing order. The function putInOrder takes as input the address of the array and the number of elements in the array. Exercise 3 (w = 2 points). Assume that enum Grade = {A, B, C, D, F} is an enumerated data type that represents grades in a course. Write a C++ program that reads a list of students ID’s and grades, finds the frequency of each grade in the file, and stores that frequency in an array of 5 integers. Use the Grade data type to loop through the array. Exercise 5. Write a C++ program that reads a list of 9 strings into an array of strings. The program should allow the user to choose two positions whose content will be swapped. The program should have a function called swap that takes as input an array and two locations in the array and swaps the contents of the two locations. The program should check the positions selected by the user and should not pass to the function swap any locations out of the array boundaries. If the user enters a location not within the array the program should display an error message to the user and asks the user to re-enter the position until correct input is given. 2 Exercise 6 . (w = 2 points). Write a C++ program that generates a new user ID from an array of 7 strings called IDs. Initially, the IDs are read from the user via the keyboard. The new ID is generated by calling a function generateNew which attaches the old ID to the prefix e followed by the index of the old ID. For example, given the array contents:9654 1011 3333 1324 7788 1325 2256 The new array contents are: e02256 e11325 e27788 e31324 e43333 e51011 e69654 The program should display the new contents of the array at the end.