Design console application, enter a positive integer n, n is odd or even, if n is odd, odd Numbers between 1 to n and output; If n is even, the even number between 1 to n and output,
request design three different methods respectively, CodePudding user response:
Circulation, and recursion formula