about | help | code help+videos | done | prefs |
Write a method that returns a string made up of all the letters from 'first' to 'last'. You may assume that 'first' and 'last' are both letters and that they are the same case (both upper-case or both lower-case). If 'first' and 'last' are the same letter, just return a string with that letter in it. If 'last' comes alphabetically before 'first' return an empty string. jan19_2018_APSLHL_makeLetters("a", "e") → "abcde" jan19_2018_APSLHL_makeLetters("z", "m") → "" jan19_2018_APSLHL_makeLetters("e", "b") → "" ...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