Write a C++ program to calculate the average score for certain number of student
ID: 3628143 • Letter: W
Question
Write a C++ program to calculate the average score for certain number of student.Define 10 elements integer array, and sum.
Use counter controlled structure to do the following:
a. Use random generator to generate 10 integers between 0 and 100.
b. Store the integers into array
c. Add the score into sum.
Define a function to calculate the average - dividing sum by student_no. Please note that the average is float not integer.
Display the students’ scores, total points, and average (2 decimal places).