Write a complete C++ program that will randomly generate 20 integers between the ranges 60 – 100 and store the result in an array.

 Write a complete C++ program that will randomly generate 20 integers between the ranges 60 – 100 and store the result in an array. The program should consists of the following functions to test out the array:a. will return the largest number of the array.b. will return the smallest number of the array.c. will return the average of the number of the array.d. will return the smallest gap in between the adjacent entries of the array. (A gap between two numbers is the absolute value of their difference)e. will return the sum of gaps between adjacent entries of an array.The main program should be similar to below:int main() {int array[20] = { };// initialize all the value of the array; << (array, 20) << ; << (array, 20) << ; << (array, 20) << ; << (array, 20) << ; << (array, 20) << ;}