Write a javascript program to input electricity unit charge and calculate the total electricity bill according to the given condition:
Answers
Answered by
1
Answer:
JS
Date. prototype. monthDays= function(){
var d= new Date(this. getFullYear(), this. getMonth()+1, 0);
return d. getDate();
}
function getSlab(sDate,eDate) {
var slab = 0;
if(sDate. getMonth() === eDate. getMonth
Similar questions