If arr [ i ] is in between first and second then update second
else if ( arr [ i ] > second && arr [ i ] != first ) = arr [ i ] ; } if ( second == int . MinValue ) Console . Write ( " There ▁ is ▁ no ▁ second ▁ largest " + " ▁ element STRNEWLINE " ) ; else . Write ( " The ▁ second ▁ largest ▁ element " + " ▁ is ▁ " + second ) ; }