header

Homework 20

An automated device monitors air temperature and automatically records the high and low temperatures for the day in a disk file. Each record in the file consists of two space-delimited double values: the low temperature for the day, and the high temperature for the day. Write a class that models this data structure. Your class should have the following member functions:

Include a simple test program that tests all of the member functions. In Hmwk20.cpp, I've written some code to get you started.