#include<iostream.h>
#include<conio.h>

using namespace std ; 
int main () 
{
    int i ; 
    const int size = 10  ; 
    int a[size] ; 
    for (i=0 ; i<10 ; i++)
    {
         cout << "a[ " << i<<"] :   " ; 
         cin >> a[i] ; 
    }
    cout << "The even elements of your arrray are : "<< endl ; 
    for (i=0; i<10 ; i++)
    {
        int d = a[i]% 2 ; 
        if(d == 0 )cout << a[i] << " , " ; 
    }
    getch() ;     
    return 0 ; 
} 
