#include <iostream>
using namespace atd;

int main() 
{
    int min,max;
    cout<<"\n Only Even Number Generation.";
    cout<<"\n ----------------------------";
    cout<<"\n Enter the Starting  value : ";
    cin>>min;
    cout<<"\n Enter the Ending value : ";
    cin>>max;
    cout<<"\n\n Even Numbers....."<<end;
    for(;max>=min;)
    {
        cout<<" "<<max;
        min=min+2;
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: