Question: 1. (10p) Write the code of an HTML page that asks for the units(kw) of electricity used via form element and then calculate and display

1. (10p) Write the code of an HTML page that asks for the units(kw) of electricity used via form element and then calculate and display the bill on a div using JavaScript. Conditions: For the first 40 units - TL 2.00/unit For the next 60 units TL 2.50/unit For the next 50 units TL 3.40/unit For the units above 150 - TL 4.50/unit Sample: Electricity Used: 1200 Calculate Price: 625 TL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
