### Find the min even number and max even number in array

int i,max,min; int A[11]; min = A[1]; max = A[1]; for(i=1;i<=10;i++) { if(min > A[i] && A[i]%2 ==0 ) min = A[i]; if(max < A[i] && A[i]%2 ==0 ) max = A[i]; } printf(“Minimum Even : %d\n”,min); printf(“Maximum Even : %d\n”,max); getch(); } I enter value 1,2,3,4,5,6,7,8,9,10 why the result is Min 1 Max 10

Details