Code:

printf("Enter an integer:\n");
scanf("%d",&n);
if(n>0)pluscounteven+2;
else if (n>0)pluscountodd++;
else if (n<0)minuscounteven=-2;
else if (n<0)minuscountodd=-2;
else zerocount++;

This one seems easy, but I can't find a way to it. I'm scanning "m", which will tell me to type an integer "m" times, you put in the integers, and the end result should give me

Code:

Among "m" scanned integers there are:
0 positive even and 0 positive odd integers,
0 negative even and 0 negative odd integers, and
0 zero integers.

, but with positive integers and not all zeros. I am able to do it if it's just positive or negative, but I don't know how to separate the odds and evens. I was hope that I could somehow start the odds at 1/-1, but I don't know if that's possible. Someone help! Much appreciated!