Java Program – Find Largest and Smallest number in a List

A simple Java program to find Largest and Smallest number in a Java List.

Let’s see the program first,

Read the comments in the above program to understand.

This program first ask you to enter the limit, then it will ask you to enter the value to the List depends on the limit you have entered. Once you have filled the List, it will show what it the Largest and Smallest number you have entered into the list.

Your Output will be:

Enjoy the day!

Related Posts

Leave a Reply