Source
Code:
#include<stdio.h>
#include<conio.h>
int
main( )
{
int i;
clrscr( );
printf("\n The even numbers are:");
for(i=1;i<=20;i++)
{
if(i%2==0)
{
printf("\n\t%d",i);
}
}
getch();
return 0;
}
No comments:
Post a Comment