Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
37 views

Java Micro Project

Uploaded by

Onkar Talekar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Java Micro Project

Uploaded by

Onkar Talekar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

A

MICROPROJECT REPORT
On
“BILLING IN SUPERMARKET”
Mr. Onkar Shivaji Talekar
Mr. Om Santosh Wakchaure
Mr. Sanket Vijay Sahane
Mr. Pratik Sanjay Shinde
Mr. Sanket Rajendra Daware
Mr. Aryan Rajendra Zinjurde

Under The Guidance of


Prof. K. D. Ibitkar

SECOND YEAR (COMPUTER) DEPARTMENT

AKOLE TALUKA EDUCATION SOCIETY’S

FACULTY OF POLYTECHNIC, AKOLE

ACADEMIC YEAR - 2023-24


CERTIFICATE
This is to certify that the Micro-Project Report entitled

“BILLING IN SUPERMARKET”
Has been submitted by,

Mr. Onkar Shivaji Talekar


Mr. Om Santosh Wakchaure
Mr. Sanket Vijay Sahane
Mr. Pratik Sanjay Shinde
Mr. Sanket Rajendra Daware
Mr. Aryan Rajendra Zinjurde

As a partial fulfillment of the prescribed syllabus of Subject


Java Programing (22412), (Micro-Project) of
Second Year Diploma in Computer Engineering.

Prof. K. D. Ibitkar Prof. S. B. Deshmukh


Project Guide & Subject Head of Department
Teacher

Dr. R. D. Palhade
Principal
ACKNOWLEDGEMENT

It is privilege to acknowledge with deep sense of gratitude to our micro


project guide Prof. K. D. Ibitkar for her valuable suggestions through out
our course of study.
We express our gratitude to Head of Department, Prof. S. B. Deshmukh
for his kind help & co-operation.
We also take this opportunity to thank all our colleagues who backed
us interest by giving useful suggestions & all possible help without whose help
& moral support it would not has been possible to complete this report.

Mr. Onkar Shivaji Talekar


Mr. Om Santosh Wakchaure
Mr. Sanket Vijay Sahane
Mr. Pratik Sanjay Shinde
Mr. Sanket Rajendra Daware
Mr. Aryan Rajendra Zinjurde
BILLING IN SUPERMARKET

INDEX

Sr. No Title Page No.


1. Introduction 2

2. Aim 3
Course Outcomes
3. 3
Addressed
4. Literature Review 3
Actual Methodology
5. 4
Followed
6. Program 5

7. Output 10

8. Applications 11

9. Conclusion 12

10. Reference 13

1
BILLING IN SUPERMARKET

INTRODUCTION

The project is on Supermarket management and Billing systems. The


Supermarket is a huge shop where all can find a lots of products may wheather
grocery or fashion or utensils etc.in the various categories in different
departments. Also, there is a huge number of staff in different positions. It has
to keep all the records of its staff ,so that the employee management would be
effective. So, to make such problems easier to handle we have developed this
system that not only keeps authentic data may thatbe of transactions into and
out of the supermarket or that be the information of its employee.

The manager module in the software helps to keep information ofemployees


and the cashier and the data entry operator module helps to keep records of
transactions inside and out of the supermarket. The barcode scanning system
in the software helps to run the transaction process fast and effectively.

The supermarket management and billing system, a desktop application is


developed to provide all t5he fascilities and servicesrequired in various shops
like shopping centers, mini-marts, fancy shops, etc. The main objective of the
system is to provide efficient transactions with minimal error. Bar code
scanning technology helps cashier, manager, and the data entry operator are
provided with their own authorized person can perform their respective jobs.

2
BILLING IN SUPERMARKET

❖ Aim / Benefits of the micro-project


For generating the shopping bill, we required the product id,
name quantity, price per item, and total price of the product and total.

❖ Course Outcomes Addressed


1. Development program using object oriented methodology in
java.
2. Implement exception Handling .
3. 3.implement package.

❖ Literature Review
We know that lot of supermarkets like D-mart, Big Bazaar,
etc. but there is lot of rush at these supermarket and billing system is
a big issue. Therefore, billing is a lot time consuming process. Also,
theft is an issue in these supermarkets. People may steal chocolates,
chips, etc. and employees working in malls never get an
acknowledgement regarding these issues.
Due to large variety of products these supermarkets need a
large display area to keep their products for sale. But by using our
proposed system, these supermarkets can understand what type of
products are getting sold largely and are in demand and therefore
more stock of these products can be stored in the shop and hence
display area can be managed easily.
When customer enter supermarket, he will choose the product
he wants, After getting the product, bill will be generated
automatically by the Shopper and each time the customer chooses a
new product, the bill automatically gets updated through counterer.

3
BILLING IN SUPERMARKET

❖ Actual Methodology Followed


Work in the Supermarket will be done in the following
way :-
Create subfolder college in main folder.
First we create college package.
Then we create class is product in public.
Next we take prod_id,prod_name,qty,price,total
etc. Then accept variables.using get methods.
Next we use display bill using displayFormat method. Then
we import college package in main folder in my pack.
Create class Shoppingbill then we declare all variables in null value
because we can’t declare null value then we calculate garbage value
in our bill.
we calculate total price using ,
Gst,sgst,cgst formule. next calculate total price all products and
Display bill.
Then end of main function.
Then run the program and take outputs.

4
BILLING IN SUPERMARKET

PROGRAM
• FIRST CLASS
Create package:
package college;
import java.util.*;
public class Product
{

public String id;


public String pname;
public int qty;
public double price; public
double totalPrice;

public Product(String
id, String pname, int
qty, double price,
double totalPrice)
{
this.id=id; this.pname
= pname; this.qty =
qty; this.price =
price;
this.totalPrice =
totalPrice;
}

public String getId()


{
return id;
}
public String
getPname()
{
return pname;
}
public int getQty()

5
BILLING IN SUPERMARKET

{
return qty;
}
public double
getPrice()
{
return price;
}
public double
getTotalPrice()
{
return totalPrice;
}
public static void
displayFormat()
{
System.out.format("-
--------------------------
-----------------
--------------------------
--------------------------
--------------------------
-----
----");
System.out.print("\nP
roduct ID
\t\tName\t\tQuantity\t
\tRate \t\t\t\tTotal
Price\n");
System.out.format("-
--------------------------
-----------------
--------------------------
--------------------------
--------------------------
-----
----\n");
}

public void display()

6
BILLING IN SUPERMARKET

{
System.out.format("%-9s %-9s %5d
%9.2f %14.2f\n"
,id, pname, qty, price,
totalPrice);
}
}

• SECOND CLASS

Creating import package:

import college.*;
import java.util.*;
public class ShoppingBill
{
public static void main(String arg[])
{
String id = null;
String productName = null;
int quantity = 0;
double price = 0.0;
double totalPrice = 0.0;
double overAllPrice = 0.0;
double cgst, sgst, subtotal=0.0, discount=0.0;
char choice = '\0';
System.out.println("\t" +
"-------Welcome to Swami Super Market-------
");
Scanner scan = new Scanner(System.in);
System.out.print("Enter Customer Name: ");
String customername=scan.nextLine();

List<Product> product = new ArrayList<Product>();


Do
{

7
BILLING IN SUPERMARKET

System.out.println("Enter the product details: "); System.out.print("Product


ID: ");
id = scan.nextLine(); System.out.print("Product Name:
");productName = scan.nextLine();

try
{
System.out.print("Quantity: ");
quantity = scan.nextInt();
}
catch(Exception e)
{
System.out.println(e);
}
System.out.print("Price (per unit): ");
price = scan.nextDouble();

totalPrice = price * quantity;


overAllPrice = overAllPrice + totalPrice;
product.add( new Product(id, productName,
quantity, price, totalPrice) );

System.out.print("Want to add more items? (y or n):");

choice = scan.next().charAt(0);
scan.nextLine();
}
while (choice == 'y' || choice == 'Y');

Product.displayFormat();
for (Product p : product)
{
p.display();
}
System.out.println("\n\t\t\t\t\t\t\t\t\t\tTotal Amount(Rs.) " +overAllPrice);

8
BILLING IN SUPERMARKET

discount = overAllPrice*2/100;
System.out.println("\n\t\t\t\t\t\t\t\t\t\tDiscount (Rs.) "
+discount);

subtotal = overAllPrice-discount;
System.out.println("\n\t\t\t\t\t\t\t\t\t\tSubtotal"+subtotal);

sgst=overAllPrice*12/100;
System.out.println("\n\t\t\t\t\t\t\t\t\t\tSGST(%) "+sgst);

cgst=overAllPrice*12/100;
System.out.println("\n\t\t\t\t\t\t\t\t\t\tCGST(%) "+cgst);

System.out.println("\n\t\t\t\t\t\t\t\t\t\tInvoice Total "


+(subtotal+cgst+sgst));
System.out.println("\t ------------------------Thank You for
Shopping!! --------------------- ");
System.out.println("\tVisit Again");

}
}

9
BILLING IN SUPERMARKET

OUTPUT

10
BILLING IN SUPERMARKET

❖ Applications of the Micro-Project

Billing software, commonly known as invoicing software, can be any


software designed to simply generate invoices for products and services
rendered to customers.
Billing software also comes with the ability to track the payment receipts
from customers against the invoices issued.

11
BILLING IN SUPERMARKET

CONCLUSION
At last, would like to share my experience while doing this micro project.
We learnt many new things about the given topics. The best thing which I can
share is that I developed more interest in this subject. This project gave me real
insight into the billing in super market world.
A very special thanks to my dear Principal for setting such targets for us. I
enjoyed each and every bit work I had put into this project.

12
BILLING IN SUPERMARKET

REFERENCE
• An Efficient Supermarket Billing System: Automating Checkout and
Streamlining Operations | PDF | Software Engineering | Computing
(scribd.com)
• Supermarket Billing system project report | Study Guides, Projects,
Research Computer Programming | Docsity
• Java Project - Supermarket Billing System - Project Gurukul

13

You might also like