Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

While researching pointer notation within C++ I was able to determine some valuable information. However an example problem was listed which is...

While researching pointer notation within C++ I was able to determine some valuable information. However an example problem was listed which is confusing. Can someone please show how this would be coded in C++ along with associated output. The example problem is as follows:

A program that dynamically allocates an array large enough to hold a user-defined number of test scores.

  • Once all the scores are entered, the array should be passed to a function that sorts them in ascending order.
  • Another function should be called that calculates the average score.
  • The program should then display the sorted list of scores and averages with appropriate headings.

Pointer notation rather than array notation should be used whenever possible.

Input Validation: Do not accept negative numbers for test scores

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question