about | help | code help+videos | done | prefs |
flipCase(). Given a string, if a letter occupies an even index position, make it uppercase. If a letter occupies an odd index position, make it lowercase. Show Hint button is available. flipCase("hello") → "HeLlO" flipCase("Madam, I'm Adam") → "MaDaM, i'm aDaM" flipCase("How are you?") → "HoW ArE YoU?" ...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: 150 Post-solution available
Copyright Nick Parlante 2017 - privacy