#C8525. Remove Vowels
Remove Vowels
Remove Vowels
Given a string, remove all the vowels from it. Vowels are defined as a, e, i, o, u
in both lowercase and uppercase. Your task is to read a single line of input from stdin, process it by eliminating all vowel characters, and output the resulting string to stdout. For example, if the input is Hello World!
, the expected output is Hll Wrld!
.
Note: You must handle edge cases such as empty strings and strings that only contain vowels.
inputFormat
The input consists of a single line containing a string s
. The string may include spaces, punctuation, and other characters.
Input Source: stdin
outputFormat
The output should be the modified string with all vowels (both uppercase and lowercase) removed.
Output Destination: stdout
aeiou