JJ logo

Lab 24

. Using String methods

Write programs that use String methods to
perform various tasks.

----------------------------------------
Lab #24.1: Fix Happy Birthday
----------------------------------------

Return to your earlier Happy Birthday program
and modify it slightly so that it will verify
that the persons name is not blank.

----------------------------------------
Lab #24.2: Modify The Quick Brown Fox Jumps
Over A Lazy Dog program
----------------------------------------

Modify the TQBFJOALD program so that an
incorrect sentence points to the errorneous
character.  For example:

The quick brown fox jumps over the lazy dog
The quixk brown fox jumps over the lazy dog
-------^ This character is not correct

----------------------------------------
Lab #24.3: Concrete Painter
----------------------------------------

Write a program that will reverse the words
in a 3-word phrase.  Assume that the input correctly
contains exactly three words (that is, exactly
two spaces in the middle somewhere).

----------------------------------------
Lab #24.4: Concrete Painter continued
----------------------------------------

Write a program that will reverse the words
in any phrase.  Assume that the input
contains at least one word.