Increasing and Decreasing Number in Java
Increasing and Decreasing Number in Java Question : Write a program to check whether a number is Increasing Number or Decreasing Number? Increasing Number : In an integer traversing from left to right if the current digit is greater than or equal to the previous digit, the number is known as increasing numbers. Ex : 23689 Decreasing Number : In an integer traversing from left to right if the current digit is less than the previous digit, the number is known as decreasing numbers. Ex : 98632 Note : A number which is neither increasing nor decreasing is Bouncy Number. * To understand the program clearly watch this video : Increasing/Decreasing Number in Java