Showing posts with label Java MaximumAndMinimum. Show all posts
Showing posts with label Java MaximumAndMinimum. Show all posts

Java Code To Find The Maximum And Minimum All Numbers Without Arrays.


Java Code To Find The Maximum And Minimum All  Numbers  Without  Arrays.
=============================================================

        try {
            int a = 0, b = 0, c = 0, d=Integer.MAX_VALUE;
            //d=Integer.MAX_VALUE   because the  d is set to its maximum value as being an integer
            // and it is of the order 2^31-1