CSC 175 - Intermediate Programming

Assignment #12c - An even less basic string program.

Due Monday, March 14, 2024

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. Strings have two basic methods that you will need for this assignment:

[Back to the Assignments List]