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();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=0;i<=100;i=i+2)
{
printf(" %d",i);
}
getch();
}
I love learning and I love people and you’re a person and you’re here to learn. Hopefully, you can see where I’m going with this.
0 Comments
Have any query? Want any type of module?
Please comment it down and let me know.