#include "
stdio.h"
void fun1(double str1[],int length) {
int i, j;
double temp;
for(i = 0; i < length; ++i) {
for(j = length - 1; j > i; --j) {
if(str1[j] > str1[j - 1]) {
temp = str1[j];
str1[j] = str1[j - 1];
str1[j - 1] = temp;
}
}
}
for(i = 0; i < length; ++i) printf("%.1f ",str1[i]);
}
void fun() {
double str[]= {-53,22,223,100,18.0,309,-10,209,101,900,-77,50};
fun1(str,sizeof(str)/sizeof(str[0]));
}
int main() {
fun();
}