String methods

This assignment tests your ability to write programs using string methods.

Using string methods, write a program that does the same thing as this text analysis program.

Be sure your program handles the middle character the same way mine does when the length of the input string is an even number. Test it with input strings of varying (odd and even) length.

Turn in a screen shot of your program analyzing the input string: "visual basic dot net" along with a program listing.

Hint: integer division (\) might be helpful in finding the middle character of a string.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.