about | help | code help+videos | done | prefs |
Weaving Words (again) - This is a new word game – Read from a data file two words of same length, write a loop that will "weave" the words together. Take the first letter from String str1 and then the last letter from String str2. Continue this pattern and create a new word. Example: happy daddy -> hyadpdpayd weaveAlternating("happy", "daddy") → "hyadpdpayd" weaveAlternating("", "") → "" weaveAlternating("computer", "sciences") → "csoemcpnuetiecrs" ...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: 105
Copyright Nick Parlante 2017 - privacy