(The words in bold are those entered by the user.)
This program is a modification of the StringDemo program on p 61. One way to approach this lab is to type in the StringDemo program and make sure it compiles. Then, modify it to search for the word, "hate" and replace it with "love". After that, modify the program to let the user enter the phrase.
Make sure that your program are written in good style and have good documentation (include your name and the honesty pledge). After demonstrating your programs to Professor St. John, mail her copies at firstname.lastname@example.org.
If there is still time left in the lab, work on Homework 4.