Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started