You can use this assignment in your class!
Mastery Progress(100.0%)
i

You answeredJUST NOW
Java
You passed all test cases!
STDIN
1
Expected STDOUT
3
Your STDOUT
3

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchAUG. 11, 2021 AT 10:32 PMstarTop Answer
Java

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
Select one of the following options:
  • A.
  • B.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.