Pages
Home
Thursday, October 13, 2011
Even numbers being looped
#include<stdio.h>
#include<conio.h>
int main( )
{
int ONE, TWO;
printf("Enter Number: ");
scanf("%d",&TWO);
for (ONE=0; ONE<=TWO; ONE+=2)
{
printf ("%d\n",ONE);
}
getch( );
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment