I sentence you to ...

Have you ever used one of those websites that tells you the reading level of a book? For example:

One of the components of that is often part of this process is counting how many sentences are in the book. While we aren't ready to read from an entire book yet, we can do this if we have a "small" String to start with. In this activity we will count the number of sentences in a String by counting the number of end-of-sentence punctuation marks in the String ( periods, question marks, and exclamation points).

As you test this you might use the following samples.