C Program to find the odd numbers

#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

Post a Comment

0 Comments