Number List Statistics
Write a C++ program that will:
the user to enter a list of decimal numbers until a negative number is
at most 1000 numbers to be entered.
all of the numbers entered into an array. (The negative number should not
be included in the list.)
the list. Use any of the sorting
algorithms discussed in class. (Comment which algorithm you used.)
a count of the numbers that were entered.
a total of the numbers that were entered.
the smallest (least) number entered.
the largest (greatest) number entered.
the average number entered.
the median number entered.
the mode of the list. The mode is the number(s) that occurs the most frequently. If there is a tie display them all.