Second highest number in array java | write a java program to print second highest number in array.
HTML-код
- Опубликовано: 18 окт 2024
- Hello Friends,
In Today's Video We are going to Write a program to find second highest number from the given Array.
Input: arry={2,4,5,3,12,18,10}
Output: Second Highest Number is : 12
If you Like the Video Please subscibe to my Channle !
Thank you for Wathing !
#sjprogrammingsolution #secondmaxelementfromarray #secondhighestnumber #javacodinginterview
very good explanation maim
Thank you !
Very clear explanation mam
Thank you
what if we have multiple same values?????
It won't take 2 same values and output will never be same no.s getting added.