counter

Free Hit Counter

C program to print even numbers between 0 to 200

Q: program to print first 100 even numbers


#include
#include
void main()
{
int i;
clrscr();


for(i=0;i<=200;i++)
{
if(i%2==0)
printf("%d ",i);
}
getch();
}

No comments:

Post a Comment