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

 

tmhscs@gmail.com strings > string_moreVowels
prev  |  next  |  chance

Given a String word, return true if it has more vowels than consonants in it. The vowels are "a", "e", "i", "o", "u", and their capital versions. If the word is tied for the same number of vowels than consonants or has more consonants than vowels, return false.


string_moreVowels("Aardvark") → false
string_moreVowels("Education") → true
string_moreVowels("Equilibrium") → true

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

public boolean string_moreVowels(String word) { }

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

Post-solution available

Copyright Nick Parlante 2017 - privacy