Problems
Receive a natural number N as input, and write a program using a recursive function that prints all odd numbers from 1 to N if N is odd, and all even numbers from 2 to N if N is even.
Example
15
1 3 5 7 9 11 13 15
Source
자기주도C언어프로그래밍