> print the odd numbers in c programming ~ Online tutorial

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

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: