Go to the first, previous, next, last section, table of contents.


Exercise: Counting Punctuation

Using a while loop, write a function to count the number of punctuation marks in a region--period, comma, semicolon, colon, exclamation mark, question mark. Do the same using recursion.


Go to the first, previous, next, last section, table of contents.