about | help | code help+videos | done | prefs |
Write a method that returns a String consisting of num number of "work. " followed by "Now!!!" The first "work. " must be capitalized. The parameter num will be greater than zero. However, if num is greater than 10, return "The Game." instead. workTime(5) → "Work. work. work. work. work. Now!!!" workTime(3) → "Work. work. work. Now!!!" workTime(1) → "Work. Now!!!" ...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 Post-solution available
Copyright Nick Parlante 2017 - privacy