I'm a super beginner
The only way I know how to print out even numbers is using a division.
but the start form I'm given is below
void validateUserInput(char *UserInputCharArray, int &strLength);
int const ARRAY_SIZE = 100;
int main()
{
//required char pointer
char *UserInputCharArray = nullptr;
return 0;
}
void validateUserInput(char *UserInputCharArray, int &strLength)
{
Please help me here
Thank you all in advance
Last edited on
¿how does your code relate to your question?
To see if a number is even if( some_number%2 == 0 )
I know that code already.
the code I wrote is provided from my professor to use.
that's why I'm really confused