In my main program, I get an error stating my even number is not being iniatilized; however, in my void function, I have the evennumber initialized to zero.
int _tmain(int argc, _TCHAR* argv[])
{
//Initiliaze all the variable to zero
int evennumber;
int zeroe;
int oddnumber;
intitialize(zeroe, oddnumber, evennumber);
cout<<"Please Enter in a number: ";
int mynumber;
readanumber(mynumber);
_getch();
return 0;
}
void intitialize ( int zeroes, int odd, int evens)
{
zeroes=0;
odd=0;
evens=0;
}