Write code to continually track the max, min, and avg as new numbers are inserted into a tracker class. Write a class TempTracker with these methods: A method to insert a new temperature. A method to get the highest temperature we’ve seen so far A method to get the lowest temperature we’ve seen so far A method to get the average of all temps we've seen so far Optimise for space and time. Favour speeding up the getters over the setters.
-
Notifications
You must be signed in to change notification settings - Fork 0
dennisdup/TempTracker
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published