about | help | code help+videos | done | prefs |
If the given 3-digit number contains the digit 2, return true. Return false otherwise. has2(123) → true has2(406) → false has2(222) → 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
Copyright Nick Parlante 2017 - privacy