Bubble sorting of array of real numbers of size n
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(inout) | :: | A(1:n) | The array to sort |
||
| integer, | intent(in) | :: | n | The number of elements in array A |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rk), | private | :: | temp | ||||
| integer, | private | :: | i | ||||
| integer, | private | :: | j |