Driver code
public static void Main ( ) { float [ ] arr = { ( float ) 0.897 , ( float ) 0.565 , ( float ) 0.656 , ( float ) 0.1234 , ( float ) 0.665 , ( float ) 0.3434 } ; int n = arr . Length ; bucketSort ( arr , n ) ; Console . WriteLine ( " Sorted ▁ array ▁ is ▁ " ) ; foreach ( float el in arr ) { Console . Write ( el + " ▁ " ) ; } } }