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

You answeredJUST NOW
Java
You passed all test cases!
STDIN
5
10
Expected STDOUT
The area of the rectangle is 50
Your STDOUT
The area of the rectangle is 50
STDIN
20
30
Expected STDOUT
The area of the rectangle is 600
Your STDOUT
The area of the rectangle is 600
STDIN
1
1
Expected STDOUT
The area of the rectangle is 1
Your STDOUT
The area of the rectangle is 1
STDIN
0
100
Expected STDOUT
The area of the rectangle is 0
Your STDOUT
The area of the rectangle is 0

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchAPR 21, 2024, 1:32:12 PM
Java

Was this helpful?

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

Was this helpful?

(Voting helps us personalize your learning experience!)

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