X274: Recursion Programming Exercise: Multiply

For function 'multiply', write the missing base case condition and action. This function will multiply two numbers "x" and "y". You can assume that both "x" and "y" are positive.

Examples:

multiply(2, 3) -> 6

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.