about | help | code help+videos | done | prefs |
isLegalAge
isLegalAge() -- given the age of a person, return false if it is less than 21, otherwise return true. isLegalAge(20) → false isLegalAge(21) → true isLegalAge(22) → true ...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 Post-solution available
Copyright Nick Parlante 2017 - privacy