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

You answeredJUST NOW
C#
You passed all test cases!
STDIN
2
Expected STDOUT
The car has traveled 120 miles in 2 hours.
Your STDOUT
The car has traveled 120 miles in 2 hours.
STDIN
4
Expected STDOUT
The car has traveled 240 miles in 4 hours.
Your STDOUT
The car has traveled 240 miles in 4 hours.
STDIN
10
Expected STDOUT
The car has traveled 600 miles in 10 hours.
Your STDOUT
The car has traveled 600 miles in 10 hours.
STDIN
120
Expected STDOUT
The car has traveled 7200 miles in 120 hours.
Your STDOUT
The car has traveled 7200 miles in 120 hours.

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchAUG 3, 2022, 7:54:07 PM
C#

Was this helpful?

(Voting helps us personalize your learning experience!)
imgOutput Presentation (page 2)

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.