Write a program to calculate the electricity bill. The rates of electricity per unit are as follow: If the units consumed are equal or less than 300, then the cost is Rs. 3/- per unit. If unit...



  1. Write a program to calculate the electricity bill. The rates of electricity per unit are as follow:



  • If the units consumed are equal or less than 300, then the cost is Rs. 3/- per unit.

  • If unit consumed are more than 300, then the cost is Rs. 3.5/- per unit and a surcharge of 5% of bill is added.


using OOP



Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here