about | help | code help+videos | done | prefs |
Given a string and a value of true, return a string where the first half is all upper-case characters and the second half is all lower-case. However, if the boolean variable has a value of false, the first half should be all lower-case characters and the second half should be upper-case. upperLower("Alex", true) → "ALex" upperLower("x", true) → "x" upperLower("x", false) → "X" ...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