Problem Statement
Read travel distance and speed, then print the trip duration in hours.
DEMO-OOP-33 โข Object Oriented Programming
Read travel distance and speed, then print the trip duration in hours.
Input is given as whitespace-separated tokens in this order:
Print the exact report in this order:
Submit runs every public testcase in this browser. Results and code never leave this device.
150 60
Distance: 150 Speed: 60 Hours: 2.50
90 45
Distance: 90 Speed: 45 Hours: 2.00
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question