Question

Write a program to provide some statistics on the Great Point Average (GPA) of 15 students that have completed the same 6 courses. The names of the courses are provided

for output display.Study main() function (do not change main()). Use global constants. You need to implement the following functions: initialize GPAs(): to randomly fill the 2D array gpa with random numbers between 1.00and 4.00 inclusive. To generate double GPAs, generate integers in [10:40] then divide by 10. compute CrsAvg(): to compute the average gpa of all students in each course. The computed set of averages shall be saved in the 1D array, crsAvg PoorGPAsCount(): to compute the total number of GPAS that are < 2. PoorGPAsCountinCrsX to compute the number of gpa in a specific course show Report(): to display the output as in the sample below.

Question image 1Question image 2Question image 3Question image 4Question image 5Question image 6Question image 7