Modify the previous program to read in a list of floating-point values. The end of the input is indicated by the user entering a sentinel value -999.
The program will display the following:
the average of the values,
the largest of the values,
The smallest of the values,
the range, that is the difference between the smallest and the largest.