A program to remove all characters in a string except alphabets is discussed here. Given a string, remove all the characters except alphabets and display it as output. For example, consider the following example
Input and Output Format:
Input consists of a string. Assume the maximum length of the string is 200. The characters in the string can contain both uppercase, lowercase, and symbols.
Sample Input:
pro$#&gra7m
Sample Output:
program
@@coding::2@@
Recommended Programs