Write an iterative function that returns the double factorial @n@ for a natural .
Recall that . For instance, and . By definition, .
| C++,C | |
| Java | |
| Python | |
|
Assume @n@ .
You only need to submit the required procedure; your main program will be ignored.
Input/Output