Question: Write a recursive method vowelsToEnd that takes a string as a parameter and returns a string in which all of the vowels have been moved
Write a recursive method 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".
Step by Step Solution
3.30 Rating (162 Votes )
There are 3 Steps involved in it
public sta... View full answer
Get step-by-step solutions from verified subject matter experts
