C Program For Sort A Float Array In Acceding And Descending Order Using For Loop
Array:
Arrays a kind of data structure that can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.
Output:
Sorting A Float Array
Element Before Sorting
1.01 6.66 3.30 7.50 2.20 4.10 7.90 9.70 0.01 9.14 0.69
Element After Sorting
0.01 0.69 1.01 2.20 3.30 4.10 6.66 7.50 7.90 9.14 9.70