about | help | code help+videos | done | prefs |
Write the method to receive one integer representing Seconds and return the Hours, Minutes, and Seconds as a String "hr-min-sec" secondsToTime(3661) → "1-1-1" secondsToTime(7322) → "2-2-2" secondsToTime(6330) → "1-45-30" ...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: 100
Copyright Nick Parlante 2017 - privacy