is
" with "was
".Using the string methods that we have learned so far, write a program that will allow the user to type in line of text until the user types in the phrase "The end" on a line by itself. The program will replace every occurrence of "is" with the string "was" and count the number of changes made.
Use the string
class. You can find them describes in C++
Lecture #2.