id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

crehwinkel@frhsd.com > digitsIncreasing
prev  |  next  |  chance

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)

public boolean digitsIncreasing(int num){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 200

Copyright Nick Parlante 2017 - privacy