Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need the solve in C programming on An Electricity board charges the following rates mentioned in the table for the use of electricity. All users

image text in transcribed

Need the solve in C programming

image text in transcribed

on An Electricity board charges the following rates mentioned in the table for the use of electricity. All users are charged Taka 50 as a meter charge for every month. If any user wants to change/replace his meter, he will be charged taka 2000. The monthly bill will be generated based Customer Category Consumed Units Phase For Category 3 and 5 along with other parameters, you need to also consider flat rate, peak time, and off-peak time. Take input from the user, how many units were consumed during flat rate, peak, or off-peak time. Meter Charge Write a program to read the name of the user, Customer Category, Phase, number of units consumed and print out the monthly bill. Note that Phase, flat rate, peak time and off-peak time will be appeared based on the customer category The monthly bill will be calculated following the number of Days in a month Tariff Rate SL Customer Category and Slab New Tariff Per Unit Rate (Tk.) Effective from Bill month September, 2015 Service Charge (Tk./Month) 3.33 3.80 5.14 1 Category A: Residential Life Line: 1-50 Units a First Steps From 0 to 75 units b Second Step: From 76 to 200 units c Third Step: From 201 to 300 units d Fourth Steps From 301 to 400 units e Fifth Step: From 401 to 600 units f Sixth Step: From 601 to above 5.36 1-Phase: 10.00 3-Phase: 30,00 5.63 8.70 9.98 2 Category B: Agricultural pumping 3.82 30.00 Category : Small Industries a Flat Rate 7.66 3 b Off-Peak Time 6.90 70.00 c Peak Time 4 5.22 1-Phase: 10.00 3-Phase: 30.00 Category D: Non-Residential (Light & Power) Category : Commercial & Office a Flat Rate b Off-Peak Time C Peak Time 9.80 5 8.45 11.98 1-Phase: 10.00 3-Phase: 30.00 The output shall look like this: -Check Your Electricity Bill Enter the name of the customer. ABCD Customer Number: XXXXX 1. Monthly Bill 2. Meter Replacement 3. Main Menu 4. Exit 1 1. 2. 3. 4. 5. Residential Agricultural Pumping Small Industries Non-Residential Commercial and Office 1 a First Step: From 00 to 75 units b Second Step: From 76 to 200 units c Third Step: From 201 to 300 units d Fourth Step: From 301 to 400 units e Fifth Step: From 401 to 600 units f Sixth Step: From 601 to above Units Consumed: b a. b. 1 Phase 3 Phase a MS. ABCD XXXX Monthly Electricity Bill is Taka

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

U11 Informing Industry: Publicizing Contract Actions 317

Answered: 1 week ago