Given the declaration of class TemperatureList, provide its…
Given the declaration of class TemperatureList, provide its complete implementation. #include #include const int MAX_LIST_SIZE = 50;class TemperatureList{public: TemperatureList(); // Initializes the object to an empty list . void add_temperature(double temperature); // Pre: The list is not full. // Post: The temperature has been added at the end of the list, after its current last element double getHighTemperature() const; // Pre: the list is not empty // Post: returns the highest temperature in the list double getLowTemperature() const; // Pre: the list is not empty // Post: returns the lowest temperature in the list double getAvgTemperature() const; // Pre: the list is not empty // Post: returns the average of all temperatures in the list bool full() const; // Returns true if the list is full; false otherwise. bool empty() const; // Returns true if the list is empty; false otherwise. friend std::ostream& operator
Read DetailsA capacitor is made from two hollow, coaxial, iron cylinders…
A capacitor is made from two hollow, coaxial, iron cylinders, one inside the other. The inner cylinder has radius 0.50 mm, the outer cylinder has radius 5.00 mm, and length of each cylinder is 18.0 cm. What is the capacitance? (1 pF = 10-12 F)
Read Details