Question: Write a recursive method called vowelsToEnd that takes a string as a parameter and returns a string in which all of the vowels have been
Write a recursive method called vowelsToEnd that takes a string as a parameter and returns a string in which all of the vowels have been moved to the end. The vowels should appear in reverse order of what they were in the original word. For example, the call of vowelsToEnd("beautifully") should return "btfllyuiuae"
JAVA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
