How to Find vowels or not using case in ruby ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 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