Java Coding Example-Part 2 : Find largest and smallest number from user input

preview_player
Показать описание
How to find largest and smallest number from the set of values provided by user. This video explains this program.
two method is created largest() and smallest(), The values provided by the user is stored in an array and that array is passed to the method. Those two method process the array and find largest and smallest number.
Рекомендации по теме
Комментарии
Автор

Instead of displaying the smallest number, I get an error message saying that index is out of bounds. Help please?

zaok
Автор

No offense, pr itna bhayankar intro. 😂

aurorabeam