Introduction - If you have any usage issues, please Google them yourself
Topic: write a function, input n is even, a function call for 1/2+ 1/4+...+ 1/n, when the input n an odd number, a function call
1/1+ 1/3+...+ 1/n (use pointer function)
1. The program analysis:
2. The source code: