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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!