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 ответ
+ 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