Ad Code

Write a program to print even numbers from 0 to 100 using loop.

Write a program to print even numbers from 0 to 100 using loop.







#include<stdio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=0;i<=100;i=i+2)
{
printf(" %d",i);
}
getch();
}

Post a Comment

0 Comments

Ad Code