Yes no problem.... pretty much everything is done, all you need is another "if" statement that determines and checks the value of the RETURN statement that was returned from the function and after couple of "cout" 's and you're done....
for example
Code:
OneOrTwo = evenorodd(dum); // our function returns here and
// assigns a return value to OneorTwo
if(OneOrTwo == 1)
cout << "The character is even!!! \n";
if(OneOrTwo == 2)
cout << "The character is odd!!! \n";
return 0;
// the end...
Like I said you tutor helped you litterally to the end and he even put info down for you that should be followed to finish a program.
To be honest with you, this program doesn't involve much programming knowledge nor C++ for that matter, all it pretty much needs is some logical thinking......practice practice practice...
ADVICE: for the future try to approach every programming problem as a real life problem, and solve it on paper in plain English as you would be asked to give a verbal solution to a "human - real life" problem and then approach your computer and start programming...
Good Luck...
Regards,
matheo917