about | help | code help+videos | done | prefs |
isWeekend() takes as input one of the 7 days of the week - "Monday", "Tuesday", etc. - and returns true if it is a weekend day. The method ignores uppercase and lowercase differences, e.g. "SATURday" should return true; isWeekend("Sunday") → true isWeekend("saturDAY") → true isWeekend("Sunda") → false ...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: 103 Post-solution available
Copyright Nick Parlante 2017 - privacy