First and Last vowel character Strings
As a Logic building Leaner you are given the task to extract the string which has vowel as
the first and last characters from the given array of Strings
Step1: Scan through the array of srings, Extract the Strings with first and last characters as
vowels; these strings should be concatenated
Step2: convert the concatenated string to lower case and return it
h
If none of the strings in the array has first and last character as vowel, then return no
matches found
Prototype: String findString VowelFirstAndLast(int input1, String[input2)
input1: an integer representing the number of'elements in the array.
input2: String array.
Example-1
input1:3
input2: {"oreo","sirish","apple"}
output: oreoapple
Example - 2
input1: 2
input2: {"Mango","banana")
output: no matches found
Explanation: None of the strings has first and last character as vowel.
Hence the output is no matches found.
Example - 3
input1:3
input2:{"Ate","Ace","Girl"}
output : ateace
Answers
Answered by
0
Answer:
dhjsbdbsuhdhsbbsdhhdehheherhehehehhdhdhd dhehehhdhe jdjshdhdhshshsh hehehe the intended recipient you are not the intended recipient you are not the intended recipient you should have been tryingbsjebdhehhejejejeje
Similar questions
Chemistry,
2 months ago
Math,
2 months ago
Business Studies,
5 months ago
Social Sciences,
5 months ago
English,
11 months ago