For this function, I have to count how many even numbers there are in this array. It compiles fine and I get no warnings but when I run it, nothing gets outputted! I'm baffled because I've done this function before and do not know why this is happening. As always any help is appreciated.
using namespace std;
int EVEN (int a,int size );//prototype
const int size=10;
cout<<"The number of evens in this array are";
int EVEN(int a, int size) //print number of even elements