CSC 160 - Computer Programming for non-Majors

Assignment #15 - A less basic string program.

Due Thursday, December 3, 2015

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 print the number of lines that contain the string "is". You will want to use the string method:

[Back to the Assignments List]