Problem Statement
Create a team-leader subclass that extends an employee base class and prints the calculated pay.
DEMO-OOP-33 โข Object Oriented Programming
Create a team-leader subclass that extends an employee base class and prints the calculated pay.
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.
Lina 40 50.0
Employee: Lina Hours: 40 Pay: 450.00
Omar 35 25.0
Employee: Omar Hours: 35 Pay: 375.00
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question