Project 68: Range of Dataset

Suppose a dataset called 'x' has the following numbers:  3, 9, 4, 5, 7, 6

The highest value (maximum) of the dataset is 9 and the lowest value (minimum) is 3, so the range is 9 - 3 = 6


Project 68: The variable 'x' has been initialized (an array of unsorted numbers)

Task: Initialize the value of 'range' that represents the range (highest - lowest) of the data

**If your code works for 5 test cases, you can enter your e-mail address

Universal Computational Math Methods:

pow(5,2) returns 25.0

abs(-3.0) returns 3

sqrt(49.0) returns 7.0