I was recently stumped by a programming exercise that calls for the use of "reactive programming".
The problem statement is simple: