Hi there.

I've written a program to sort a few numbers. However, I get an error missing function header. Can you please guide me where did it go wrong?

Thanks

```
//
#include "stdio.h"
int sort(double top, double middle, double bottom);
int main()
{
double x[20];
x[1]=0;
x[2]=-0.07;
x[3]=0.08;
x[4]=-0.01;
printf("%.1d,%.1d",x[1],x[2]);
sort(x[1],x[2],x[3]);
printf("%.1d,",x[2]);
sort(x[2],x[3],x[4]);
printf("%.1d,",x[3]);
return 0;
}
int sort(double top, double middle, double bottom);
{
double top, middle, bottom, temp;
if (top>middle){
temp=middle;
middle=top;
top=temp;}
if (middle>bottom){
temp = middle;
middle = bottom;
bottom = temp;}
return middle;
}
```