Problem Statement
Create an electric-car subclass that extends a base car class and prints the polymorphic vehicle report.
DEMO-OOP-33 โข Object Oriented Programming
Create an electric-car subclass that extends a base car class and prints the polymorphic vehicle 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.
E1 30000.0 450
Model: E1 Price: 30000.00 Range: 450 Eco Fee: 600.00
E2 42000.5 520
Model: E2 Price: 42000.50 Range: 520 Eco Fee: 840.01
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question