Section 5.5 Word Matching Exercise

Sentinel Value
Sentinel-Controlled Loop
A loop that uses a sentinel value to control its execution is called a sentinel-controlled loop.
is a special value that signifies the end of the input.