Challenge for Math and Comparison Operators

Challenge

Given two numbers a and b, return the remainder when their product is divided by their sum.

For example, if given 2 and 5, return 3 (since their product 10 divided by their sum 7 leaves a remainder of 3).

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]