C++Exercise 3. In a one-dimensional array find the number of all positive elements of the array. Exercise 4. In a one-dimensional array find the smallest element (minimum). Exercise 5. In a one-dimensional array find the greatest element (maximum). Exercise 6. Write a C++ program that will prompt the user to input ten integer values. (Elements of one-dimensional array). Then find the sum of all positive elements of the array.