WELCOME TO MY BLOG BY SHABEEB.K

C,C++ PROGRAMMING: DISPLAY ODD NUMBERS.

Search This Blog

Sunday, 4 August 2013

DISPLAY ODD NUMBERS.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#include<stdio.h>

#include<conio.h>

void main()
{
int i,n=20;
clrscr();
for(i=0;i<=20;i++)
{
if(i%2==1)
printf("\t %d \n",i);
}
getch();
}



                                                                             OUTPUT

No comments:

Post a Comment