| about | help | done | prefs | create account |
Java > Recursion-1 > countHi
prev | next | chance
| Given a string, compute recursively (no loops) the number of times lowercase "hi" appears in the string.
countHi("xxhixx") → 1 countHi("xhixhix") → 2 countHi("hi") → 1 ...Save, Compile, Run See also Java Example Code. Java help docs: If Boolean Logic | Strings | While and For Loops | Arrays and Loops
|
Forget It! -- delete my code for this problem
New just for fun
Random User Progress Graphs
Random Epic Graphs
333.0
Copyright Nick Parlante 2006-11 - privacy