Write a C Program to Print odd Numbers | C Programming

Опубликовано: 11 Март 2026
на канале: Muhammad Umar
210
like

#shorts
#code
#cprogramming
In this tutorial you can seen how to print all odd numbers from 1 to n using C language with their algorithm.
Step by Step algorithm to print odd numbers are:
Step 1: Input upper limit form user and store it in variable.
Step 2: Run a loop from 1 to n, increment loop counter by 1 in each iteration.
Step 3: Inside the loop body check condition, if number is exactly divided by 2 then it is odd number, print on screen.

Share and Subscribe For More:

Also Visit My Website For More Content:
https://myustaadg.com/