Hi i am writing a class that dynamically allocates an array that holds a user-defined number of test scores (test scores go from 0 to 10 both included).
Once all the test scores are entered and validated (values only between 0 and 10, both included), the array should be passed to a function that sorts them in ascending order.
Another function should be called that calculates theaverage of all the scores.The main program should display the sorted list of scoresand the average of the scores with appropriate headings.

I am pretty familiar with what needs to be done, i am just having a bit of trouble writing it as a class. Thanks for any help or suggestions!! Ps my goal is to learn and understand these