Menu Close

Articles

Java: Max Min Digit

In this example I work with arrays.  It is an interactive program. User is invited to enter a number using the Scanner class. The program is dividing the number into its digits then find the maxim and the minim digit into the number.

This example has demonstrated how to use the Scanner class.