Make a program that prompts the user to enter a string. If the string's length is an even number, output exactly half of it. If it is odd, notify the user that the string is invalid.
naxx09 / halfthestring Goto Github PK
View Code? Open in Web Editor NEWMake a program that prompts the user to enter a string. If the string's length is an even number, output exactly half of it. If it is odd, notify the user that the string is invalid.