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

 

jebbert@volusia.k12.fl.us > sept26_2019_P1SLHL_numCapVowels
prev  |  next  |  chance

Write a method that returns how many times a capital A, E, I, O, or U appears in the string parameter 'str'.


sept26_2019_P1SLHL_numCapVowels("AAAAAAAAAAAAAAUUUUUUUUOOOOOOOO") → 30
sept26_2019_P1SLHL_numCapVowels("iiiioouououoauurertf") → 0
sept26_2019_P1SLHL_numCapVowels("BAEOIkdjfoiweashdjgADgasdljO") → 6

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

public int sept26_2019_P1SLHL_numCapVowels(String str) { }

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

Difficulty: 290

Copyright Nick Parlante 2017 - privacy