X1077: Mod and Divide

Initialize the variables quotient and mod below and add them in the correct locations to create the correct result. The method should return a string of the form "5 / 2 is {insert quotient here} with a remainder of {insert remainder here}".

Hint: Remember that variables can be set to the result of a mathmatical expression for example:

int a = 3 + 3;

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.