Hubss ===> Lesson for TODAY
Sunday, October 9, 2011
Will display even numbers
#include
#include
int main()
{
int i,y;
printf("Enter Number: ");
scanf("%d",&y);
for (i=0; i<=y; i+=2)
{
printf ("%d\n",i);
}
getch();
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Visitor
FEEDJIT Live Traffic Feed
Feedjit Live Website Statistics
No comments:
Post a Comment