I have a question at school and I got stuck. I need to write a recursive program in c:Code:int check_odd(unsigned long n){ }
the function getting a positive natural parameter and the function need to check if this number has more than 3 odd different digits if there are more than 3 odd different digits the function need to return 0 else if there are less than 3 odd different digits the function return 1.
I need to do that in recursion. hope someone can help me with that. thank you