Question: write a program in c using enum user defined data type to calculate and print the electricity bill of a given customer. the customer id
write a program in c using enum user defined data type to calculate and print the electricity bill of a given customer. the customer id name, and unit consumed by the yser shpuld be captured from the keyboard to display the total amount to be paid to the customer.
unit upto chargeunit is
unit and avobe but less than chargeunit
unit and above but less than chargeunit
unit and above charge unit
if bill exceeds rs then a surcharge of will be charged and fhe minimum bill ehould be of rs
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
