Driver Code
public static void Main ( String [ ] args ) { LeadersInArray lead = new LeadersInArray ( ) ; int [ ] arr = new int [ ] { 16 , 17 , 4 , 3 , 5 , 2 } ; int n = arr . Length ; lead . printLeaders ( arr , n ) ; } }