C Program to print odd numbers upto 50
#include
#include
void main()
{
int i;
clrscr();
printf("Odd numbers\n");
for(i=1;i<=50;i++)
{
if(i%2!=0)
printf("\n%d",i);
}
getch();
}
****************OUTPUT****************
Odd numbers
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49
Shopping In MUMBAI
Are you searching for Discounts, offers, sale in Mumbai ? You are in the right place. MUMBAI, a shopping haven, has no dearth of great discounts and sales. This blog features the best MUMBAI shopping offers, sale, discounts and deals and bargains CURRENTLY GOING on in Mumbai plus a few free things thrown in on top.
Don't wait for it because once they are gone, they are gone. Hurry!..By clicking the "Like" button you will receive a daily update of discounts, sale, offers going on in Mumbai. LIKE IT.... SHARE IT...njoY.
Wednesday, December 31, 2008
C Program to print odd numbers upto 50
Posted by ars at 11:42 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment