Write a function countEvenNeg that has NO parameters. The function inputs the series of NON ZERO integers. The first zero terminates the input. The function finds and RETURNs the number of EVEN NEGATIVE inputs. If there are no such inputs, the function returns 0. In this function you can only use LOOP WHILE.
Write a function menu that has one parameter - choice. The function performs the following: if the choice is EVEN, user is asked to enter the number of inputs and the function avePos is called. MAKE SURE: your program outputs the appopriate message if there are no positive inputs. If the choice is ODD, function countEevenNeg is called. MAKE SURE: your program outputs the appopriate message if there are no even negative inputs.
Write main function that reads one integer - user's choice and call function menu.