Problem Statement
Create a hotel-room subclass that extends a room base class and prints the full stay report.
DEMO-OOP-33 โข Object Oriented Programming
Create a hotel-room subclass that extends a room base class and prints the full stay 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.
101 50.0 2
Room: 101 Rate: 50.00 Stay Total: 100.00
202 80.5 3
Room: 202 Rate: 80.50 Stay Total: 241.50
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question