0

What is the program to find the entered character is vowel or not?

29th Dec 2016, 12:49 PM
Ravi Yadav
2 Réponses
+ 2
check if it is in the string below (you can use whichever method you like, but I think dichotomy is the most suitable one) "aeiouyAEIOUY"
29th Dec 2016, 12:58 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 1
Store all vowels in an array. Using a for loop compare entered input with each element in array. If same display that its a vowel
29th Dec 2016, 12:59 PM
Vishal++
Vishal++ - avatar