logo CodeStepByStep logo


Language/Type: VB recursion

Write a recursive function named RemoveOddDigits that accepts an integer parameter n and that returns the integer formed by removing the odd digits from n. For example, the call of RemoveOddDigits(6342118) should return 6428.

Function: Write a VB function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.