about | help | code help+videos | done | prefs |
APCS String 1, Problem 9. Given a string, if the first or last chars are 'x', return the string without those 'x' chars, and otherwise return the string unchanged. S19_withoutX("xHix") → "Hi" S19_withoutX("xHi") → "Hi" S19_withoutX("Hxix") → "Hxi" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy