Driver code
public static void Main ( String [ ] args ) { Console . WriteLine ( " - - - frequencies ▁ in ▁ a ▁ sorted ▁ array - - - - " ) ; findFrequencies ( new int [ ] { 10 , 20 , 30 , 30 , 30 , 40 , 50 , 50 , 50 , 50 , 70 } ) ; } }