20 student apply an exam, the mark of the exam is out 10, write a C++ program to do the following:
1- read students grades and store in student _ grade array.
2- find the frequency (number of occurrences of each grade.
3- find the mode (number that occurs most often, for example, 1,1,1,2,3,3,4,5
1 is the mode.
4-calculate the mean.
5- print the result as follows:
for example
Student grade Frequency
------------------------------------
0 1
2 0
3 2
4 5
mode: --
mean:--
thank you