> Online tutorial : print the odd numbers in c programming
Showing posts with label print the odd numbers in c programming. Show all posts
Showing posts with label print the odd numbers in c programming. Show all posts

print the odd numbers in c programming


PRINT THE ODD NUMBER



#include<studio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
i=1;
do
{
printf("\n %d",i);
i+=2
}
while(i,=100);
getch();
}

OUTPUT


1,3,5,................,99