2.1.4. Extended Exercise: Interval Arithmetic
Exercise 2.10

Interval that spans zero

Ben Bitdiddle, an expert systems programmer, looks over Alyssa's shoulder and comments that it is not clear what it means to divide by an interval that spans zero. Modify Alyssa's code to check for this condition and to signal an error if it occurs.



There are no comments yet.

Authentication required

You must log in to post a comment.

Login