can someone help me out wit this?
the question goes somthg like this:
write a fuction int (or ool) IsOddDigit (char ch) that takes a char (ch) and retruns a true if ch is one of the alphabetic digits '1', '3', '5', '7', or '9', otherwise false. write a main() function to drive IsOddDigit() and test its return alue, printing an appropriate message. Include the character you are testing in the message, e.g., print somthg like the following, either:
Code:The character '1' is an odd digit. or The character 'a' is not an odd digit.