about | help | code help+videos | done | prefs |
Write a method that returns a string in the format a-b-a where "a" is the first input parameter and "b" is the second input parameter. For example if the input parameters are "jump" followed by "crawl" you should return "jump-crawl-jump". Look at the test data for additional examples. oct23_2017_APSLHL_stringMix("walk", "run") → "walk-run-walk" oct23_2017_APSLHL_stringMix("$", "%") → "$-%-$" oct23_2017_APSLHL_stringMix("abc", "def") → "abc-def-abc" ...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: 290
Copyright Nick Parlante 2017 - privacy