1. Create a class encapsulating the concept of daily temperatures for a week. Prompt the user for 7 values; store the values in an array.
This class must include the following methods to manage the array: Accessors, mutators, toString and equals methods
Method to calculate number of days below freezing Method to determine and return largest temperature change between any 2 consecutive days
2.Write a client class to create objects from the class in step 1. In the client class main, you need to create a second array using an initializer list containing the following data: 32, 45, 52, 66, 76, 53, 31
Write the following method calls in your main:
A. Call the method to calculate the number of days below and freezing for each of the arrays. B. Use the equals method to compare the 2 arrays. C. Call the method that determines and returns the largest temperature change for each of the arrays. D. Use the toString method to print out each of the arrays.
I need help writing this program. I know for fact that my toString method is incorrect. If anyone could let me know what I've done wrong so far or what I've done right or guide me with the correct path I should take to finish this- anything at all really, I would greatly appreciate it! I've been trying to find the solution or anything that will help, but I haven't been too successful.