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?