Problem Statement
Create a streaming-subscription subclass that extends a base subscription class and prints the discounted payable amount.
DEMO-OOP-33 โข Object Oriented Programming
Create a streaming-subscription subclass that extends a base subscription class and prints the discounted payable amount.
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.
Basic 3 5.0
Plan: Basic Months: 3 Payable: 31.00
Pro 6 12.0
Plan: Pro Months: 6 Payable: 60.00
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question