program in c ++?
Write a program that dynamically assigns an array sufficiently
large to store a user-defined number of scores. Once
all scores have been entered, the arrangement must be passed to a
function that orders said array in ascending order. Another function should be
call to calculate average score. The program should display the
ordered scores and finally the average score.