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

License

Icon for the Creative Commons Attribution-ShareAlike 4.0 International License

Programming Fundamentals Copyright © 2018 by Authors and Contributors is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book