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

 

andersoniii.edwin@cusd80.com > wack_A_Oh
prev  |  next  |  chance

Wack-A-Oh -- You will be given a string and you will be asked to remove all "o"'s and return a String without "oh's" -- follow the new String with a value representing the number of oh's removed. Example Ohio -> hi2 -- Do not change the case for letters


wack_A_Oh("Ohio") → "hi2"
wack_A_Oh("") → "0"
wack_A_Oh("OHIO") → "HI2"

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

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

Difficulty: 110

Copyright Nick Parlante 2017 - privacy