#include<stdio.h>
int main()
{int i,n;
printf("Enter the number ");
scanf("%d",&n);
for(i=0; i<=n;i+=2)
printf("%d\n",i+1);
i++;
return 0;
}

OUTPUT
C Program to find the odd numbers

Share To:

Arogya Thapa Magar

Post A Comment:

0 comments so far,add yours