Thursday 18 July 2013


#include "stdafx.h"
#include "conio.h"
#include "iostream"
#include "stdio.h"

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
int n1,n2;
cout<<"enter range";
cin>>n1>>n2;
for(int c=n1;c<=n2;c++)
{
if(c%2==0)
cout<<c<<endl;
}
getch();
}

0 comments :

Post a Comment