Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java help for the following rules: (use strings if you can can) 1) want WAY at t

ID: 3744514 • Letter: J

Question

Java help for the following rules: (use strings if you can can) 1) want WAY at the end of words starting with vowel. 2) want AY at the end of any other words. 3) lower than 3 letter words should be unchanged. 4) THE and AND should be unchanged 5) Words should start with capital letters 6) no punctuations in the changed version
Eg: Original: I am a lion Changed: I am a ionlay

Eg: Original: “The dancers and singers were pretty” Changed: The ancersday and ingerssay errway ettypray
Eg: Original: Awesome girl! Changed: Awesomeway irlgay
Java help for the following rules: (use strings if you can can) 1) want WAY at the end of words starting with vowel. 2) want AY at the end of any other words. 3) lower than 3 letter words should be unchanged. 4) THE and AND should be unchanged 5) Words should start with capital letters 6) no punctuations in the changed version
Eg: Original: I am a lion Changed: I am a ionlay

Eg: Original: “The dancers and singers were pretty” Changed: The ancersday and ingerssay errway ettypray
Eg: Original: Awesome girl! Changed: Awesomeway irlgay
1) want WAY at the end of words starting with vowel. 2) want AY at the end of any other words. 3) lower than 3 letter words should be unchanged. 4) THE and AND should be unchanged 5) Words should start with capital letters 6) no punctuations in the changed version
Eg: Original: I am a lion Changed: I am a ionlay


Eg: Original: “The dancers and singers were pretty” Changed: The ancersday and ingerssay errway ettypray
Eg: Original: Awesome girl! Changed: Awesomeway irlgay

Explanation / Answer

public class ConvertString { public static String convert(String str) { String removeQuotes = ""; for(int i = 0; i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote