The-Middle-Letter

A collection of 1 post

The Middle Letter

Problem Write a program that prints the middle letter of a word (string) in lowercase letters when it is entered. However, if the length of a word is even, the middle two characters are printed. input A string is entered on the first line. The length of the string does not exceed 100. output Prints…