You are on page 1of 13

A

Micro project
On
“Electricity Billing System”

Submitted By:
1. Ali Khan
2. Rimanshu Shrivastav
3. Rasika Sambhare
4. Ashish Medha

Guided By:

Mr. Sushil Gawade

Diploma In Computer Engineering


Government polytechnic Vikramgad
Academic Year 2021-2022
Maharashtra State Board
of Technical Education
Certificate
 This is certify to Mr.

Sr.N Name Of Enrollment Roll Exam Seat


o Student No No No
1. Khan Ali Abdul Rehman 2115470147 2151
2. Rimanshu Mohanlal 2115470146 2150
Shrivastav
3. Rasika Pratit Sambare 2115470145 2149
4. Ashish Bachu Medha 2115470148 2152
Of FOURTH semester of Diploma in Computer Engineering in
Government Polytechnic Vikramgad has completed the Micro-Project
satisfactorily in subject Java Programminng(22412) for the Academic
Year 2021-2022 as prescribed in the curriculum

Place: Vikramgad Date:

Subject Teacher Head Of Department Principal


Mr. Sushil Gawade
INDEX
Sr. Contents Page No
No
1. Abstract

2. Introduction

3. Aim of the Micro-Project

4. Rationale

5. Course Outcomes Achieved

6. Literature Review

7. Actual Methodology Followed

8. Actual Resources Used

9. Skills Developed
Abstract:-
The purpose of electricity billing system to calculate the bill automatic by
giving a value in output.With the help of computerized equipments we can store
the data and keep the records.
It can assist the user to concentrate on their other activities rather to
concentrate on the record keeping. Thus it will help organization in better
utilization of resources. The organization can maintain computerized records
without redundant entries. That means that one need not be distracted by
information that is not relevant, while being able to reach the information.
The valuable data and information can be stored for a longer period with easy
accessing and manipulation of the same. Basically the project describes how to
manage for good performance and better services for the clients.
Introduction:-

In this project we have created a electricity billing System in this project we have used
mathematical operations to calculate electricity bill in this project we can calculate accurate
bill by reducing the many more errors while entering the data. It also provides error
message while entering invalid data. In Java, there are various ways through which
we can calculate electricity bills. We can calculate electricity bills using static values,
command-line argument, method and functions, user-defined method, and do-while
and for loop.

In this way of calculating the electricity bill, we also use the static method. The only
difference between both of them is that we take input from the user for the number
of units rather than using static values. Let's implement the logic for calculating the
electricity bill by using the Scanner class. The project aims at serving the
department of electricity by computerizing the billing system.

It mainly focuses on the calculation of Units consumed during the specified


time and the money to be paid to electricity offices. This computerized system
will make the overall billing system easy, accessible, comfortable and effective
for consumers. The electricity billing software calculates the units consumed
by the customer and makes bills, it requires small storage for installation and
functioning. There is provision for debugging if any problem is encountered in
the system.
A Micro-Project Proposal

1.0 Aim of the Micro-Project:


Develop a program to calculate electricity billing system using
arithmetic operations.

2.0 Intended Course Outcomes:


a) Develop programs using Object-Oriented methodology in Java.

3.0 Proposed Methodology:


I. Study the concept of JAVA programming.
II. Study various syntax and functions of JAVA.
III. Study to create small programs using JAVA.
IV. Make program for given criteria.
V. Prepare the final report.
4.0 Action Plan:

Sr. Details Of Activity Planned Planned Name of


No Start Date End Date Responsible
Team
Members
1. Identify the Ali Khan
requirements of the
project.
2. Design the structure of Rasika
the project. Sambhare
3. Develop the program Ali Khan
using in
JAVA.
4. Debug code and Rasika
eliminate errors Sambhare
occurred.
5. Test the project. Rimanshu
Shrivastav
6. Prepare the final report. Ashish
Medha
5.0 Resources Required:

Sr.N Resources Required Specifications


o
1. Computer System Intel(R) Pentium cpu, RAM 4 GB

2. Operating System Windows 10, 64 Bit Operating


System
3. Software Java JDK 15.02, Notepad++

Micro-Project Report
1.0 Rationale:-

In this project we have used scanner class so we can give input


and take output and take result in this we have also used
arithematic operations to calculate electricity bill.

 Eg:- 1 unit of electricity charges 10 rupees to the customer


2.0 Aim of the Micro-Project:
Program to calculate Electricity Billing System .
3.0 Course Outcomes Achived:
In this project it is easy to calculate electricity bill
4.0 Literature Review:
Unit is used to calculate source of electricity bill and one unit of electricity is
equal to 1000 watts
By taking ten rupeess pay for one unit of electricity we can calculate the
electricity bill of the customer.

Advantages :-
1) It is paperless because it uses computerized eqipments.
2) We can also use email to send bill.
3) It is faster to calculate units into bill amount.

Disadvantages :-
1) Although the majority of customers have access to the Internet, there
are times when they are out of reach or not connected to the grid. This
might fail the delivery of invoice. It is crucial to have a backup
communication channel that you can use to reach offline customers.

5.0 Actual Methodology Followed:

i. Study the concept of JAVA programming.


ii. Study various syntaxes and functions of JAVA.
iii. Study to create small programs using JAVA.
iv. Study to use Abstraction in JAVA.
v. Make program for given criteria.
vi. Prepare final report.
6.0 Actual Resources Used:

Sr.No Resources Required Specifications


1. Computer system Intel(R) Pentium CPU, RAM 4 GB

2. Operating System Windows 10, 64 Bit Operating System

3. Software Java JDK 15.02, Notepad++

7.0 Source Code Of Program:


import java.util.*;

public class Electricity {

public static void main(String args[])


{
int units;
double billToPay = 0;
Scanner sc = new Scanner(System.in);
System.out.println("Enter number of units for calculating
electricity bill.");
units = sc.nextInt();
if(units < 100)
{
billToPay = units * 10;
}
else if(units < 300){
billToPay = 100 * 10 + (units - 100) * 2;
}
else if(units > 300)
{
billToPay = 100 * 10 + 200 * 2 + (units - 300) * 3;
}
System.out.println("The electricity bill for " +units +"
unit is : " + billToPay);
}
}

8.0 output:

9.0 Skills Developed:

During the course of this micro-project, we learnt to create a program .


Electricity billing system by using scanner class.

References:-

[1]https://www.dreamincode.net/forums/topic/97513-
distance-conversion/
[2] https://www.includehelp.com/java-programs/convert-
distance-from-miles-to-kilometre-and-kilometre-to-
miles.aspx
[3]
https://bfo.com/blog/2009/01/05/new_features_for_java_
applets/?gclid=Cj0KCQiAmZDxBRDIARIsABnkbYT9tR1Se-
U2Z-_wM4q2Jp8moc49soGuB0-
nU4zrwQOyhBZhPV237SQaAtbEEALw_wcB
[4] https://www.tutorialspoint.com/java/index.htm

                           

You might also like