in the program, there is a section where you generate a series of numbers that is seeded from a user's input. the user also determines how many numbers should be generated. this part is fine, however, it also has to count the number of positives, negatives, zeros, odds, and evens and print them to screen. plz helllllp

Code:void genRandom(int seed, int lb, int ub, int numToGen, int* pEven, int* pOdd, int* pNeg, int* pPos, int* pZero) { int i; int randNum; srand(seed); printf("\nNumbers generated:"); printf("\n"); for (i = 0 ; i < numToGen; i++) { randNum = rand() % (ub - lb + 1) + lb; printf("%4d", randNum); } addToCounts(randNum, pEven, pOdd, pNeg, pPos, pZero); printf("\n\n"); return; } void addToCounts(int randNum, int* pEven, int* pOdd, int* pNeg, int* pPos, int* pZero) { int i; for (i = 0; randNum > 0; i++) pPos++; }

the addToCounts function is the one where i have no idea what to do. i only have pos in there to try to figure it out but i intend to include all the rest. thank you for your time