Problem Statement
Read consumed electricity units and print the bill using the required tier rules.
DEMO-OOP-33 โข Object Oriented Programming
Read consumed electricity units and print the bill using the required tier rules.
Input is given as whitespace-separated tokens in this order:
Print the exact report in this order:
Submit runs every public testcase in this browser. Results and code never leave this device.
80
Bill: 40.00
250
Bill: 162.50
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question