Program Plan
This program demonstrates string functions.
Main Program
Demonstrate string concatenation
Demonstrate lower case
Demonstrate upper case
Demonstrate find
Demonstrate length
Demonstrate replace
Demonstrate reverse
Demonstrate slice
Demonstrate strip
Demonstrate number formatting
This program demonstrates reading a text file with exception handling.
Main Program
Read File
Read File
Parameters:
Filename
Process:
Create exception handler
Open file
While not End-of-File
Read line
Display line
Close file
Handle exceptions
Return Value:
None