Home Segments Index Top Previous Next

Chapter 9:

How To Perform Tests
Using Numerical Predicates

In this and the next two chapters, you learn how to do routine testing and branching. You see that C's mechanisms for accomplishing such tasks are not much different from those you would find in just about any programming language. In particular, in this chapter, you learn how to test numbers.