C Program TO PRINT EVEN NUMBERS FROM 2 TO 40

Program By :-> Jayant Purohit

#include<conio.h>
#include<stdio.h>
int my_fun(int,int);
void main()
{
int i;
clrscr();
for(i=2;i<41;i++)
{
if(i%2==0)
printf("\nThe Even number is:->%d",i);
}
getch();
}


No comments:

Post a Comment

Please write your Views about this Post here:->;

Pageviews last month