I am trying to make a function that rounds number..

I declared the function above the main and voided it

Then I recalled the function in the program and listed the variables needed in brackets

and then I wrote the function

I can't work out what is wrong.

```
#include<stdio.h>
#include<math.h>
void round2int(float,float);
int main (void)
{
float roundednum,x;
do
{
printf("Enter a number (Enter zero (0) to quit program)");
scanf("%f",&x);
round2int(x,roundednum);
}
while(x!=0);
fflush(stdin);
getchar();
return 0;
}
void round2int(float test, float number)
{
float number,test;
number=floor(test+05);
printf("%f",number);
}
```