22nd Mar 2021, 6:50 PM
Aman sharma
2 Answers
+ 1
What do you think this line is supposed to do? s=s.substring(i,str.length())+s.substring(0,i)+"AY"; (Hint: The first part of the expression isn't possible!) I'm not really sure what it is that you're trying to do with the vowels in your code. Given your String str what would be the expected output? If this is the code coach, all you need to do is take the first letter of each word in the string, remove it from the front and append it to the end of the word along with 'ay'
22nd Mar 2021, 9:47 PM
ChaoticDawg
ChaoticDawg - avatar
0
Aman sharma What are you trying here? Is it from code coach or any other?
22nd Mar 2021, 8:18 PM
Jayakrishna 🇼🇳