Practice · 3 of 6
Speed: compound assignment chain
CHALLENGE
Difficulty: intermediate+25 XP
SPEED DRILL — target under 90 seconds.
What is the final value of r?
``java
int r = 9;
r %= 4;
r *= 3;
`
A. 1
B. 3
C. 9
D. 27
Call answer(...)` exactly once with your option letter and a one-sentence reason.
Press Submit to check your solution.
Back to lesson: Practice: Speed set: 90-second drills