about | help | code help+videos | done | prefs |
digitsIncreasing
Given an integer, write a method digitsIncreasing that will return true if each digit is equal or greater than the one before. For example digitsIncreasing(12334) would return true, which digitsIncreasing(14563) would return false; digitsIncreasing(12334) → true digitsIncreasing(14563) → false digitsIncreasing(10) → 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: 200
Copyright Nick Parlante 2017 - privacy