Skip to main content

Printing list of even values between 1 to 50

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

getch();
}

Comments

Popular posts from this blog