Write a class called WindSpeedReadings. That can be used to generate statistical information about the wind speed. Apart from a constructor, write an instance method that accepts the readings and carryou out the necessary manipulations. The class must determine the lowest, highest, and average wind speed readings. See image.
Write a test class that creates a WindSpeedReadings object; also it must use the GetData class to enter a series of readings in order for the WindSpeedReadings class to determine the lowest, highest, and average readings. The test class stops reading when it reads a negative value. The list must not include the negative value; also, the negative value must not be averaged.
Using the GetData class that repeatedly displays this format for input: See image.