You are on page 1of 14

Koneru Lakshmaiah Education Foundation

(Deemed to be University)

FRESHMAN ENGINEERING DEPARTMENT


A Project Based Lab Report

On

ELECTRICITY BILL CALCULATOR

SUBMITTED BY:

I.D NUMBER NAME

2300030192 G. Anitha sri

2300030047 A. Surya

2300030073 B . Mohith

2300030238 G. Ramesh

UNDER THE GUIDANCE OF

Mr. G. VENKATESH

Asst professor,CSE.

KL UNIVERSITY
Green fields, Vaddeswaram – 522 502
Guntur Dt., AP, India.
DEPARTMENT OF BASIC ENGINEERING SCIENCES-1

CERTIFICATE

This is to certify that the project based laboratory report entitled


“ELECTRICITY BILL CALCULATOR IN C ” submitted by G. Anitha sri bearing Regd.
No. 2300030192 to the Department of Basic Engineering Sciences-1, KL
University in partial fulfillment of the requirements for the completion of a
project based Laboratory in “Computational Thinking for Structural Design”
course in I B Tech I Semester, is a bonafide record of the work carried out by her
under my supervision during the academic year 2023 – 2024.

PROJECT SUPERVISOR HEAD OF THE DEPARTMENT

Mr.G.VENKATESH Dr.D.Haritha
ACKNOWLEDGEMENTS

It is great pleasure for me to express my gratitude to our honorable


President Sri. Koneru Satyanarayana, for giving the opportunity and platform
with facilities in accomplishing the project based laboratory report.

I express the sincere gratitude to our Director Dr.A.Jagadeesh for his


administration towards our academic growth.

I express sincere gratitude to HOD-BES-1 Dr.D.Haritha for her leadership


and constant motivation provided in successful completion of our academic
semester. I record it as my privilege to deeply thank for providing us the efficient
faculty and facilities to make our ideas into reality.

I express my sincere thanks to our project supervisor Mr.G.VENKATESH


for him novel association of ideas, encouragement, appreciation and intellectual
zeal which motivated us to venture this project successfully.

Finally, it is pleased to acknowledge the indebtedness to all those who


devoted themselves directly or indirectly to make this project report success.

Project Associates

A . Surya

B . Mohith

G. Ramesh
ABSTRACT

The system “ELECTRICITY BILL CALCULATOR” is based on computerization system


which ease the billing of the electricity billing authority. To developing this project rot -end
tool as Turbo C++ compiler and Back-end tool as the coding in “C programming language”.
This software provide every customer as their id number which help to manage their
information. It will store all the information of the customer such as customer id number ,
customer name Customer address, previous month reading units and amount to be paid or
excess amount in previous month. It will calculate the amount as per the rule of NEA (Nepal
Electricity Authority). It will calculate amount just providing current month units.
INDEX
S.NO TITLE PAGE NO

1 Introduction 1

2 Aim of the Project 2

2.1 Advantages & Disadvantages 2

2.2 Future Implementation 2

3 Software & Hardware Details 3

4 Flow Chart 4

5 Algorithm 5

6 Implementation 6

7 Integration and System Testing 11

8 Conclusion 18
INTRODUCTION

Concepts:
Our project entitled “ELECTRICITY BILL CALCULATOR” aims is to generate
electricity bill with all the charges and penalty. Manual system that disemployed is
extremely laborious and quite inadequate. It only makes the process more difficult
and hard.The aim of our project is to develop a system that is meant to partially
computerize the work performed in the Electricity Board like generating monthly electricity
bill, record of consuming unit of energy, store record of the customer and previous unpaid
record. The system “ELECTRICITY BILL CALCULATOR” is based on computerization
system which ease the billing of the electricity billing authority. To developing this project
rot -end tool as Turbo C++ compiler and Back-end tool as the coding in “C programming
language”. This software provide every customer as their id number which help to manage
their information. It will store all the information of the customer such as customer id number
, customer name Customer address, previous month reading units and amount to be paid or
excess amount in previous month. It will calculate the amount as per the rule of NEA (Nepal
Electricity Authority). It will calculate amount just providing current month units.
AIM
 Identify the factors that contribute to the electricity bill.
 Design a user-friendly interface for inputting relevant..
 Implement data validation to ensure that user enter valid and realistic value.

Advantages: -

The system excludes the need of maintaining paper electricity bill as all the electricity
bill records are managed electronically. Administrator doesn’t have to keep a manual
track of the users. The system automatically calculates fine The system excludes
manual bill calculation. Users don’t have visit the office for bill payment.

Disadvantages: -

Calculations are only as accurate as the data input.. Users might make mistakes or
provide incomplete information, leading to inaccurate results…

Future Enhancements: -

Integrate with Apis or data sources that provide real-time electricity tariff rates and
additional charges. This ensures that the calculator reflects the most current
information… If application, consider integrating with smart meters to provide users
with real- time data on their electricity consumption. This can offer more accurate
and up-to-date calculations…Implements predictive analytics to forecast future
electricity costs based on historical date and trends.. This feature can help users
plans for potential changes in their bills..
SYSTEM REQUIREMENTS

 SOFTWARE REQUIREMENTS:
The major software requirements of the project are as follows:
Language : C PROGRAM
Operating System: Windows Xp or later.

 HARDWARE REQUIREMENTS:

The hardware requirements that map towards the software are as follows:

RAM :2GB RAM

Processor: A multi-core processor with sufficient processing power to handle


concurrent user requests.
FLOW CHART
ALGORITHM
1. Start

2. Input monthly usage in kilowatt-hours (kWh)

- Prompt the user to enter the monthly electricity usage.

3. Input tariff rates (cost per kWh)

- Prompt the user to enter the tariff rates for the electricity consumed.

4. Input additional charges

- Prompt the user to enter any additional charges applicable to the electricity bill.

5. Input discounts

- Prompt the user to enter any discounts that may be applied to the total cost.

6. Calculate total consumption cost

- totalCost = (monthlyUsage * tariffRates) + additionalCharges - discounts

7. Display breakdown of costs

- Display the breakdown of costs, including usage, tariff rates, additional charges, and
discounts.

8. Display total cost

- Display the total calculated cost of electricity.

9. End

IMPLEMENTATION
#include<stdio.h>
int main(){

int mno,units,pr,lr,cat;

float amt;

char name[20];

printf("enter mno,name,pr,lr,category ");

scanf("%d%s%d%d%d",&mno,name,&pr,&lr,&cat);

units=pr-lr;

if(cat==1){

if(units<=300)

amt=units*1.25;

else if(units<=500)

amt=units*1.50;

else if(units>500)

amt=units*1.75;

if(cat==2){

if(units<=300)

amt=units*1.5;

else if(units<=500)

amt=units*1.75;

else if(units>500)

amt=units*2.00;

if(cat==3){

if(units<=300)

amt=units*1.75;

else if(units<=500)
amt=units*2.00;

else if(units>500)

amt=units*2.25;

printf("no of units=%d\nbill amount=%f\n",units,amt);

return 0;

INTEGRATION AND SYSTEM TESTING


OUTPUTS
Screen Shots:
CONCLUSION

In conclusion, the implementation of an electricity bill calculator in c provides a


basic yet functional tool for user to estimate and understand their electricity
costs . The program allow user to inputs key parameters such as monthy usage
tariff rates, additional charges And discounts it then calculator the total
consumption cost and provides a breakdown of costs offering transparency into
how the final bill is calculated..

You might also like