read more...
post by sanjay Vishwakarma
Sunday, October 3, 2010
write a program for accept the number from user and find witch number are odd and even ?
#include
#include
void main()
{
int a,b;
int c,d;
clrscr();
printf("\n\t Its a Odd number");
for(a=1;a<=25;a+=2)
printf("%d\n",a);
printf("\n\t Its a Even number");
c=25;
for(d=2;d
{
printf("%d\n",d);
}
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment