Write a program to print odd numbers between 1 and 100 using if..then..else statements.
Answers
Answered by
1
Answer:
Write a C program to print all odd numbers from 1 to n using for loop. How to print odd numbers from 1 to n using loop in C programming. Logic to print odd numbers in a given range in C programming.
Example
Input
Input upper limit: 10
Output
Odd numbers between 1 to 10:
1, 3, 5, 7, 9
Similar questions