Skip to content

Lab 08: Strings

Goal

Inspect and process text one character at a time.

Practice Tasks

  • Read a word or short phrase.
  • Count selected characters.
  • Report the first and last character when the input is non-empty.
  • Try a mixed-case test input.

Check Yourself

What is different about the empty-string case?