Problem Statement
Write a C program that reads a positive integer n from the user and prints all odd numbers from 1 to n (inclusive), each on a new line.
For example, if n is 7, the output should be:
1 3 5 7
If n is 10, the output should be:
1 3 5 7 9