Problem Statement
Model a bus route by extending a vehicle-route class and print the inherited report.
DEMO-OOP-33 โข Object Oriented Programming
Model a bus route by extending a vehicle-route class and print the inherited report.
Input is given as whitespace-separated tokens for the base-class fields first, followed by the child-class fields.
Print the exact multiline report required by the problem.
Submit runs every public testcase in this browser. Results and code never leave this device.
R1 40 8
Code: R1 Speed: 40 Stops: 8
R2 35 12
Code: R2 Speed: 35 Stops: 12
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question