Question: Write a method named removeVowels that accepts a string as its parameter. The method should return the input string, but with all vowels (a,e,i,o,u) removed.
Write a method named removeVowels that accepts a string as its parameter. The method should return the input string, but with all vowels (a,e,i,o,u) removed. Your method should handle both upper case and lower case input. For example, the call removeVowels("Computer Science")should return "Cmptr Scnc". (REMEMBER: Just write the method -- do NOT enclose the method inside a class and do NOT write a main method.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
