/* Program to sort a list of up to 20 floats. */ #define MAXNUM (20) #include void bubblesort (float values[MAXNUM], int num); main () { int i, num; float values[MAXNUM]; /* Find out how many numbers: */ do { printf("How many numbers will be sorted (max %d)? ", MAXNUM); scanf("%d", &num); } while (num >MAXNUM); /* Check for sanity */ /* Input numbers */ for (i=0; i