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

 

vowelIndexes


Given a string, return the index of all vowels (A, E, I, O, or U) as a single number. Return -1 if there is no vowel in the given string


vowelIndexes("abc") → 0
vowelIndexes("YeS") → 1
vowelIndexes("wwwww job e") → 710

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

public int vowelIndexes(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: 120

Copyright Nick Parlante 2017 - privacy