id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

konstans@stuy.edu > isVowel
prev  |  next  |  chance

Return true if the character is a vowel. Y does not count as a vowel for this particular problem. Hint: you can use the string "aeiouAEIOU" and loop over it instead of writing many if statements. If you do this, use charAt() but no other string methods.


isVowel("a") → true
isVowel("b") → false
isVowel("c") → false

...Save, Compile, Run (ctrl-enter)

boolean isVowel(char c){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Copyright Nick Parlante 2017 - privacy