how would i write a maximum number test function that will take any number of arguments and returns the greatest of them???

i know i need to used recursion function, but how should i declare the function??

here is what i have so far

```
double maxNumber( double inputNum,A double inputNumB)
{ double finalNum;
if inputNumA > inputNumB {
finalNum == inputNumA
return inputNumA;
}}
```