
54 Chapter 4
41 // Print the total
42 std::cout << "The total is: " <<
43 total << std::endl;
44
45 return (0);
46 }
(Next Hint 87. Answer 21.)
A company I worked with had a communications line that would fail every
day at exactly 5:00 p.m. Every morning it would automatically start up
around 7:00 a.m. Extensive checks of both the hardware revealed nothing.
Finally, an engineer was assigned to stay after hours and watch the commu-
nications line. That night the problem went away.
The next night the communications went down as usual. The next
night the engineer stayed late and the problem went away. After several
cycles of this it was determined that th ...