PROGRAMMING:Bubble sort function
Write function to realize bubble method to sort real array from small to large. In the main function, first input an integer n (1 < n < = 100), then input n real numbers into the array, call the function you write to sort and output all the elements of the array.
###Input example:
```in
five
2 3.5 1.0 0.618 1.142
```
###Output example:
```out
0.6180 1.0000 1.1420 2.0000 3.5000
```
answer:If there is no answer, please comment
###Input example:
```in
five
2 3.5 1.0 0.618 1.142
```
###Output example:
```out
0.6180 1.0000 1.1420 2.0000 3.5000
```
answer:If there is no answer, please comment