about | help | code help+videos | done | prefs |
Write a method that produces the results seen here! Hint: Temporarily start by returning an empty string in order to see the test data. Hint: It is all about the lengths of the two strings! quiz2023_12_13_APP1SLHL_longerString("racecar", "amanaplanacanalpanama") → "[racecar] is shorter than [amanaplanacanalpanama]." quiz2023_12_13_APP1SLHL_longerString("123456789", "3") → "[123456789] is longer than [3]." quiz2023_12_13_APP1SLHL_longerString("Yoda", "Jedi") → "[Yoda] is equal in length to [Jedi]." ...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: 230
Copyright Nick Parlante 2017 - privacy