about | help | code help+videos | done | prefs |
Write a method that returns a string stating what the last character in the input-parameter string is. If the input-parameter string is empty, return "empty", otherwise return "last: #" where # represents the last character in the input-parameter string. If you STILL don't understand, look at the test data. oct23_2017_APSLHL_getLast("testing") → "last: g" oct23_2017_APSLHL_getLast("Wow!") → "last: !" oct23_2017_APSLHL_getLast("") → "empty" ...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: 250
Copyright Nick Parlante 2017 - privacy