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

 

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

Write a method that returns the input parameter string but with all of the vowels removed. The input parameter string will only contain lower-case letters and spaces. The only string methods you are allowed to use are: .length, .substring, .charAt, .equals, .compareTo.


nov9_2016_APSLHL_removeVowels("this is a quiz") → "ths s qz"
nov9_2016_APSLHL_removeVowels("what happened") → "wht hppnd"
nov9_2016_APSLHL_removeVowels("art in the park") → "rt n th prk"

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

public String nov9_2016_APSLHL_removeVowels(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