![Write a complete program that will have a main function and a function called average. (Ref slides 68 and 69 of lec W9 arrays](https://media.cheggcdn.com/media%2Fad1%2Fad171a08-9ad2-449e-b1a6-26a4a33a5bc1%2Fimage.png)
Write a complete program that will have a main function and a function called average. (Ref slides 68 and 69 of lec W9 arrays, slides 47 to 49 of lecW6 func) 1) Function average will only have a 2D integer array parameter with 2 rows and 3 columns. This function will return the average of the elements stored in 2D array. Use nested counter-controlled for loop. (Use array template instead of built-in