Print the result
System . out . print ( " Left ▁ = ▁ " + ( left + 1 ) + "NEW_LINE"); System . out . print ( " Right ▁ = ▁ " + ( left + k ) + "NEW_LINE"); System . out . print ( " Peak ▁ = ▁ " + peak + "NEW_LINE"); }