about | help | code help+videos | done | prefs |
Write a method that returns a string with 'count' copies of "okra, " followed by the string in 'last'. Note that count will be a non-negative integer less than 30. Also note that 'last' could be an empty string. okraSaying(3, "is the best!") → "okra, okra, okra, is the best!" okraSaying(1, "please.") → "okra, please." okraSaying(0, "where is my okra?") → "where is my okra?" ...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