How to Find vowels or not using case in ruby ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to Find vowels or not using case in ruby ?

vowels or not in ruby

1st Oct 2017, 11:03 AM
Vaishnavi R
Vaishnavi R - avatar
1 Answer
+ 1
Like that? char_taken = 'e' case char_taken when 'a', 'e', 'i', 'o', 'u', 'y' puts "Vowel" end # Digged out ...
1st May 2018, 4:38 PM
Braut
Braut - avatar