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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!