Question: ..Write a C++ program to calculate electricity bill given a variable (R) representing the kilowatt of electricity consumed according to the following rules: If

..Write a C++ program to calculate electricity bill given a variable (R) representing the kilowatt of electricity consumed according to the following rules: If the customer consumes from 1 to 100khw then he should pay 0.15 JOD per kWh. Plus, 0.20 JOD per kWh for amount more than 100kWh and less than or equal 250kWh. Plus, 0.25 JOD per kWh for amount more than 250kWh. Sample Output Enter the cosnumed kilowatt: 174 Your bill is 29.8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
