#include <stdio.h>
#define S 10
int main() {
    int a[S],i,n;
    printf("\nEnter in how many no you wanna to find even: ");
    scanf("%d",&n);
    for(i=0;i<n;i++)
    {
        scanf("%d",&a[i]);
       
    }
    printf("\n Prime nos among your mentioned nos:\n");
    for(i=0;i<n;i++)
    {
        if(a[i]%2 == 0)
        printf("%5d",a[i]);
    }
 
    return 0;
}

Embed on website

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