Driver program to test above function
public static void Main ( String [ ] args ) { double [ ] arr = { - 0.897 , 0.565 , 0.656 , - 0.1234 , 0 , 0.3434 } ; int n = arr . Length ; sortMixed ( arr , n ) ; Console . Write ( " Sorted ▁ array ▁ is ▁ STRNEWLINE " ) ; for ( int i = 0 ; i < n ; i ++ ) Console . Write ( arr [ i ] + " ▁ " ) ; } }