Up and Down a string
Create a program called lastnomeupAndDown take a string input from the user and print out that will substrings of increasing length next to each other until the word is fully printed, then repeat the process back down.
Example: Input Output ccocodcodecodcoc CPS 1231