about | help | code help+videos | done | prefs |
Write a method merryGoRoundRight(String[]list). This method will receive an array containing at least three Strings and switch the order of the strings in the array and return the array. The first will be second, the second will become the third and so forth with the last becoming first. merryGoRoundRight(["first", "second", "third"]) → ["third", "first", "second"] merryGoRoundRight(["first", "second", "third", "fourth"]) → ["fourth", "first", "second", "third"] merryGoRoundRight(["fun", "funny", "funniest"]) → ["funniest", "fun", "funny"] ...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