about | help | code help+videos | done | prefs |
percentageOfDay() -- given the number of hours, minutes, and seconds that have passed since midnight, return the percentage of the day that has passed. Return this percentage as an integer rounded down. percentageOfDay(1, 0, 0) → 4 percentageOfDay(12, 0, 0) → 50 percentageOfDay(24, 0, 0) → 100 ...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: 10 Post-solution available
Copyright Nick Parlante 2017 - privacy