Write a function declaration and function definition for a function called
read_filter that has no parameters and that returns a value of type double.
The function read_filter prompts the user for a value of type double and
reads the value into a local variable. The function returns the value read provided this value is greater than or equal to zero and returns zero if the value read is negative.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.