#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
int i, n;
int odd =0;
int even=0;
int A[15];
for (i=0; i<n; i++){
}
for(i=0; i<n; i++)
{
if(A[i]%2==0)
even++;
else
odd++;
}
printf("\neven numbers in array: %d",even
); printf("\n odd numbers in array: %d",odd
);
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPHRpbWUuaD4KaW50IG1haW4oKQp7CmludCAgaSwgbjsKaW50IG9kZCA9MDsKaW50IGV2ZW49MDsKaW50IEFbMTVdOwpzcmFuZCh0aW1lKE5VTEwpKTsKCWZvciAoaT0wOyBpPG47IGkrKyl7CgkJCgkJQVtpXT1yYW5kKCklNjAtMTAgOwoJCXByaW50ZigiICVkICAiLCBBW2ldKTsKCX0KCWZvcihpPTA7IGk8bjsgaSsrKQogICAgewogICAgICAgICAgaWYoQVtpXSUyPT0wKQogICAgICAgICAgZXZlbisrOwogICAgICAgICAgZWxzZQogICAgICAgICAgb2RkKys7CgkJICAgICAgICAgICAKICAgIH0KICAgICBwcmludGYoIlxuZXZlbiBudW1iZXJzIGluIGFycmF5OiAlZCIsZXZlbik7CiAgICAgcHJpbnRmKCJcbiBvZGQgbnVtYmVycyBpbiBhcnJheTogJWQiLG9kZCk7CiAgICAgICAgCgkKfQ==