The waiting room program allows a receptionist to record the time a client arrives and the time the client is served. The program keeps a running total of the number of clients served and the number of minutes they waited. At the end of the day the program displays the total number of minutes clients waited, and the average wait time. It computes and displays the total and average waiting times.
Time is represented by the number of minutes elapsed since midnight.
The last file, time.cpp, contains the implementations of the member functions declared in time.h. These include functions for reading and writing times, as well as adding and subtracting times. Unfortunately, all three files contain a number of violation of the department style guidelines. Comments are minimal. Names of some variables are unhelpful.