how do I wrtie a function that takes one argument of type double. The function returns the character value ‘P’ if its argument is positive and return ‘N’ if its argument is zero or negative.

```
double Letter ( double P, double N)
if (P = +);
return P;
else
return N
if ( P=0);
```

Does this look right?