even
#include <stdio.h>
int main()
{
{
int i,j=0,n,a[10],b[10];
printf("enter the size\n");
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("\n%d",&a[i]);
printf("\nthe array elments are\n");
for(i=0;i<n;i++)
printf("%d\n",a[i]);
{
for(i=0;i<n;i++)
{
if(a[i] % 2 ==0)
b[j] = a[i];
j++;
}
printf("The of Even values is: %d \t",b[j]);
}
}
}
INFO