about | help | code help+videos | done | prefs |
Un-Weaving Words - This is a new word game - Given one word, write a program that will "un-weave" the word into two words of same length. Take the first letter from String combo and place into the first string and take the next letter and place into second string. Continue this pattern and return the resulting "Un-Weave Word" into two words. Return the first string concatenate with the second to return one "double word" with a hyphen in the middle. example:"mdoamd" becomes: "mom-dad" unWeaveWords1("mdoamd") → "mom-dad" unWeaveWords1("") → "-" unWeaveWords1("csocmipeuntceers") → "computer-sciences" ...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: 110
Copyright Nick Parlante 2017 - privacy