Write the code to display a form as shown below along with the javascript code to achieve the specified task. User should be able to enter the number of calls and the total amount payable gets displayed when he presses “calculate” button.
The total amount payable will be calculated based on the following rate list:
Rs. 1.00 per call for the 1st 100 calls
Rs. 1.20 per call for the next 100 calls
Rs. 1.50 per call for the next 50 calls
Rs. 2.00 per call for more than 250 calls