about | help | code help+videos | done | prefs |
Strange number is a two-digit int that one of the digits is odd and one of the digits is even. Return true if the given number is strange. Also, return true if both digits are either even or odd and greater than 6. isStrange(10) → true isStrange(20) → false isStrange(12) → 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: 105
Copyright Nick Parlante 2017 - privacy