how do I

Write a two class application that has a one-dimensional array as a data member. The array stores temperatures for any given week. Provide constructors for instantiating the class and methods to return the highest temperature, lowest temperature, average temperature, and the average temperature excluding the lowest temperature. Provide a method that accepts as an argument a temperature and returns the number of days the temperatures were below that value. Override the ToString( ) method to return the temperature range for the given week. Write a second class to test your class

1 answer

Looks like the first class performs all of the functions, and the second class calls of the functions to make sure they are performing properly.

Do you have any specific questions about this?