0% found this document useful (0 votes)
54 views23 pages

Supermarket Billing System Project in C++: Submitted To

The document describes a project to develop a supermarket billing system using C++. A group of 5 students submitted the project report as a partial fulfillment of their Bachelor of Technology degree. The system uses classes and file handling in C++ to create a database of product information and generate bills by searching the database for product prices and quantities. The goal is to help supermarkets calculate bills efficiently for customers.

Uploaded by

Ram Dhuni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views23 pages

Supermarket Billing System Project in C++: Submitted To

The document describes a project to develop a supermarket billing system using C++. A group of 5 students submitted the project report as a partial fulfillment of their Bachelor of Technology degree. The system uses classes and file handling in C++ to create a database of product information and generate bills by searching the database for product prices and quantities. The goal is to help supermarkets calculate bills efficiently for customers.

Uploaded by

Ram Dhuni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23

Supermarket Billing System Project in C++

A Project Synopsis Report


Submitted in Partial fulfillment for the award of
Bachelor of Technology in Computer Science & Engineering

Submitted to
RAJIV GANDHI PROUDYOGIKI VISHWAVIDYALAYA
BHOPAL (M.P)

PROJECT SYNOPSIS REPORT


Submitted by:
Aman Prakash (0103AL223D01)
Anmol Kumar (0103AL223D03)
Ashish Kumar Singh (0103AL223D05)
Saurabh Kumar (0103AL223D15)
Vishal Kumar (0103AL223D18)

CSE-AIML

Under the supervision of

Prof. Umesh Kumar Gera

Department of Computer Science & Engineering


Lakshmi Narain College of Technology, Bhopal (M.P.)
Session 2022-23

Page | 1
LAKSHMI NARAIN COLLEGE OF TECHNOLOGY, BHOPAL

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

CERTIFICATE

This is to certify that the work embodied in this Major Project Synopsis entitled
“Supermarket Billing System Project” has been satisfactorily completed by
Aman Prakash[0103AL223D01]. It is a bonafide piece of work, carried out under
the guidance from Department of Computer Science & Engineering,
Lakshmi Narain College of Technology, Bhopal for the partial fulfillment of
the Bachelor of Technology during the academic year 2022-23.

Prof. Umesh Kumar Gera


(GUIDE NAME)

Approved By

Dr. Sadhna K. Mishra


Prof. & Head

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Page | 2
LAKSHMI NARAIN COLLEGE OF TECHNOLOGY, BHOPAL

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

ACKNOWLEDGEMENT

We express our deep sense of gratitude to Prof. Umesh Kumar Gera


(guide name) department of Computer Science & Engineering L.N.C.T.,
Bhopal, whose valuable guidance and timely help encouraged me to complete
this project.

A special thank goes to Dr. Sadhna K. Mishra (Prof. & HOD) who
helped us by providing timely suggestions in completing this project work. She
exchanged her interesting ideas & thoughts which made this project work
successful.

We would also thank our institution and all the faculty members without
whom this project work would have been a distant reality.

Aman Prakash (0103AL223D01)


Anmol Kumar (0103AL223D03)
Ashish Kumar Singh (0103AL223D05)
Saurabh Kumar (0103AL223D15)
Vishal Kumar (0103AL223D18)

Page | 3
CONTENTS

Sr. N TITLE PAGE


1. Abstract 5
2. Introduction 6-7
3. Literature Survey 7-9
4. System Design 10
5. Objective of this project 11
6. Scope of the study 12
7. Hardware and Software Requirement 12-13
8. System Model 14-16
9. Database Design 17
10. Output Admin Display Only 18

11. Conclusion 19

Page | 4
FLOWCHARTS AND PICTURES

Sr. N TITLE PAGE


1. DATA FLOW DIAGRAM OF SUPER MARKET BILLING 10
SYSTEM
2. CLASS AND FUNCTIONS SCREENSHOT 14
3. SUPERMARKET MAIN MENU SCREENSHOT 16

Page | 5
Supermarket Billing System Project in C++
Abstract
In present days people are facing problem in shopping, this Supermarket Billing System
project in C++ is a simple console application built with use of graphics. This project will
help us to understand basically two things_ use of class and file handling In C++ language.
This project is simple to understand, and the source code has been presented in an
understandable manner. To make software fast in processing with the good user interface so
that user can manage and change it, this should be used for long time without error and
maintenance.
This project is a traditional supermarket billing system with some added functionality.
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The billing system consists of C++ and file handling concepts. The billing database is a vast
collection of product name, price, and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity.
The system also contains discounted price while billing. The supermarket billing system is
built to help supermarkets calculate and display bills and serve the customer in a faster and
efficient manner.
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity.
The system also contains discounted price while billing. The supermarket billing system is
built
to help supermarkets calculate and display bills and serve the customer in a faster and
efficient
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity.
The system also contains discounted price while billing. The supermarket billing system is
built
to help supermarkets calculate and display bills and serve the customer in a faster and
efficient
This system is built for fast data processing and bill generation for supermarket customers.
The

Page | 6
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast

Page | 7
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity
This system is built for fast data processing and bill generation for rmarketcustomers. The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quanti
n present days people are facing problem in shopping, this Supermarket Billing
System project in C++ is a simple console application built without use of graphics.
This
project will help us to understand basically two things- use of stream class and file handling
in
C++ language. This project is simple to understand, and the source code has been presented
in
an understandable manner. To make software fast in processing with the good user interface
so that user can manage and change it, this should be used for long time without error and
maintenance.
This project is a traditional supermarket billing system with some added functionality.
This system is built for fast data processing and bill generation for supermarket customers.
The
billing system consists of C++ and file handling concepts. The billing database is a
vast
collection of product name, price and other product specific data. A product when billed is
searched from the database and its price is added to the bill based upon the product quantity.
The system also contains discounted price while billing. The supermarket billing system is
built
to help supermarkets calculate and display bills and serve the customer in a faster and
efficient .
One important feature we will add it in this project:
Email Bill notification: The customer is even notified of the bill amount via instantly.

Page | 8
INRODUCTION
Supermarket is the place where customers come to purchase their daily using products and
pay for that. So, there is a need to calculate how many products are sold and to generate the
bill for the customer. “Supermarket Billing System” aims at developing into software that can
be used at places like shopping malls, Supermarkets to easily operates the daily tasks of
taking the order, calculating the bill etc.
The main advantage of this project is that it converts all the manual work is
time consuming and error prone to fully automated system which helps in eliminating all the
paper work, saves time, improves customer services. It also speeds up various processes
such as addition of new items to the menu, deletion of items from the menu, modification of
details of items and calculation of bills thus providing convenience to the workers as well as
customers. In the development of the project, selection of an appropriate programming
language and a platform is of primary importance.
This project is developed to manage the bill submission process in big
organization. Using this system user can submit their bill online and check the status of their
bill. In this system, we have two users. First one is the customer who can purchase the items
available or can make the bill for the customers. Second one is the administrator who will
decide the discounts on the products and can see the report of any report. In this project C++
language is used to maintain all the data. It provides many features like file handling data can
be easily maintained and many features that are required while doing a project. The system
will display all the items with prices and discount. Finally, a separate bill will be generated
for each customer. This will be saves in the database. Any periodic records can be viewed at
any time. Eventually, users will consume less time in the calculation and the sales activity
will be completed within a fraction of seconds whereas a manual system will make the user
write it down which is a long procedure and so paperwork will be reduced and the user can
spend more time on the monitoring the supermarket.

Page | 9
A Supermarket is a large form
of the traditional grocery store,
it is a self-service shop
offering a wide variety of
food and household
products. It is larger in size
an has a wider
selection than a traditional
grocery, but is smaller and
more limited in the range of
merchandise
than a hypermarket or big-box
market.
The concept of an inexpensive
food market relying on large
economies of scale was
Page | 10
developed by Vincent Astor.
He founded the Astor Market
in 1915, investing $750,000 of
this
fortune into a 165 by 125
corner of in the famous 95
Manhattan avenue, creating in
effect, an
open air mini-mall that sold
meat, fruit, produce and
flowers. The expectation was
that
customers would come from
great distances (“miles
around”), but in the end even
attracting
Page | 11
people from the ten blocks
away was difficult, and the
market folded in 1917. The
concept of
a supermarket was developed
by entrepreneur Clarence
Saunders and his Piggly
Wiggly store

LITERATURE SURVEY
A Supermarket is a large form of the traditional grocery store, it is a self-service shop
offering a wide variety of food and household products. It is larger in size and has a wider
selection than a traditional grocery, but is smaller and more limited in the range of
merchandise than a hypermarket or big-box market.
The concept of an inexpensive food market relying on large
economies of scale was developed by Vincent Astor. He founded the Astor Market in 1915,

Page | 12
investing $750,000 of this fortune into a 165 by 125 corner of in the famous 95 Manhattan
Avenue, creating in effect, an open air mini-mall that sold meat, fruit, produce and flowers.
The expectation was that customers would come from great distances (“miles around”), but in
the end even attracting people from the ten blocks away was difficult, and the market folded
in 1917. The concept of a supermarket was developed by entrepreneur Clarence Saunders and
his Piggly Wiggly stores. His first store opened in 1916. Saunders was awarded several
patents for the ideas he incorporated into his stores. The stores were a financial success and
Saunders began to offer franchises. The Great Atlantic & Pacific Tea Company, which was
established in 1859, was another successful early grocery store. Historically, there was a
debate about the origin of the supermarket, with King Kullen and Ralphs of California having
strong claims. Other contenders included Weingarten’s Big Food Markets and Henke & pilot.
To the end the debate, the Food Marketing Institute in conjunction with the Smithsonian
Institution and with funding from H.J. Heinz, researched the issue. It defined the attributes of
a supermarket as “self-service product departments, discount pricing, marketing and volume
selling.”
It has been determined that the first true supermarket in the United States was opened by a
former Kroger employee, Michael J Cullen, on August 4, 1930 inside a 6,000-square-foot
(560m*) former garage in Jamaica, Queens in New York City. The store, King Kullen,
operated under the slogan “Pile it high. Sell it low”. At the time of Cullen’s death in 1936,
there were seventeen King Kullen stores in operation. Although Saunders had brought the
world self-service, uniform stores and nationwide marketing, Cullen built on this idea by
adding separate food departments, selling large volumes of food at discount prices and adding
a parking lot.
In the United Kingdom, self-service shopping took longer to become established even in
1947, there were just ten self-service shops in the country. The UK’s first supermarket under
the new Premier Supermarkets brand opened in Streatham, South London, taking ten times as
much per week as the average British general store of the time.
In the 1950s, supermarkets frequently issued trading stamps as incentives to
customers. Today, most chains issue store-specific “membership cards”, “club cards” or
“loyal cards”. These typically enable the card holder to receive special members-only
discounts on certain items when the credit card-like device is scanned at check-out. Sales of
selected data generated by club cards is becoming a significant revenue stream for some
supermarkets.
The Number of methods is proposed by researches in this domain. B. Anantha
Barathi proposed High Speed Billing System in which RF detector is placed inside the
shopping cart which is linked to the server for billing.
According to Aggarwal, Sisodia to make the software fast in processing, there
should be good user interface so that user can change it and it should be used for long time
without error and maintenance. Many supermarkets use this type of billing system for a
decade. It is also improved many times according to requirements of sellers and customers. It
does the same work that is calculating the bill; gives it to the customer and maintain proper
database. They are accurate in calculation and printing they also generate records.

Page | 13
A new concept is also added in the billing system that also maintains
relationships with the customers who purchase more products from the store regularly. The
system also concerns their requirements and give them more discount and commission. It also
shows the overall profit on a particular product and reports on which items are required and
which have crossed their expiry date.

SYSTEM DESIGN
Use case diagram is a graph of actors, a hard and fast of use instances enclosed by means of a
device boundary, conversation associations among the actor and the use case. The use case

Page | 14
diagram describes how a gadget interacts with out of doors actors; each use case represents a
bit of functionality that a machine provides to its users. The use instances are used at some
point of the evaluation phase of a task to pick out and partition system capability. They
separate the device into actors and use case. Actors represent roles which might be played by
using person of the system. Those users may be people, different computer systems, portions
of hardware, or maybe other software structures.

DATA FLOW DIAGRAM OF SUPER MARKET BILLING SYSTEM.

OBJECTIVES OF THE PROJECT

The main objective of the project is to make software fat in processing and it should
be used for a long time without error and maintenance. Provides a convenient solution of
billing pattern and make an easy-to-use environment for users and customers.

Page | 15
• Automation – The application automates each and every activity of the
manual system and increases its throughput. Thus, the response time of the system is
very less and it works very fast.
• Accuracy – The application provides the user a quick response with very
accurate information regarding the bill calculation and customer detail etc. any details
or system in an accurate manner, as when required.
• User Friendly – The application Supermarket Billing System has a very user-
friendly interface. Thus, the users will fully very easy to work on it. The application
provides accuracy along with a pleasant interface. Make the present manual system
more interactive, speedy and user friendly.
• Availability – All the Billing details stored permanently in the database admin
can see the data, whatever needed.
• Maintain Cost – Reduce the cost of maintenance. It is standalone application
so no required of cost for maintain it.

SCOPE OF THE STUDY

Scope is more at certain area where billing is required and it also avoid the fake dealers. Easy
to maintain in future prospect. It provides quick way of operation by capturing the manual
process and automating them. This project is helpful to computerize the item transaction,
sales activity record keeping which is very huge task and maintaining the stock.

Page | 16
This project will help the admin to

• Calculate the bill.


• Give the bill to the customer.
• Store how many products are sold.
• Store products and their prices and with other information.
• See the rates of discounts on the products.

HARDWARE AND SOFTWARE REQUIRMENTS

Hardware Requirements:
The most common set of requirements defined by any operating system or software
application is the physical computer resources, also known as hardware. A hardware
requirements list is often accompanied by a hardware compatibility list (HCL), especially in
case of operating systems. An HCL lists tested, compatibility and sometimes incompatible

Page | 17
hardware devices for a particular operating system or application. The following sub-sections
discuss the various aspects of hardware requirements.

Hardware requirements for present project:


 Processor: Intel core i3
 RAM: 4GB
 Hard disk: 1TB (Minimum 80GB)
 Interface: Mouse, Keyboard

Software Requirements:
 Operating system – Windows 10 is used as the operating system as it is stable and
supports more features and is more user friendly
 Programming language – C++ is used to write the whole code.
 Software – Dev-C++ (IDE)

C++ Language

C++ is a general-purpose programming language created by Bjarne Stroustrup as


an extension of the C programming language, or "C with Classes". The language has
expanded significantly over time, and modern C++ now has object-oriented, generic,
and functional features in addition to facilities for low-level memory manipulation. It is
almost always implemented as a compiled language. C++ was designed with an
orientation toward system programming and embedded, resource-constrained software
and large systems, with performance, efficiency, and flexibility of use as its design
highlights.
C++ has also been found useful in many other contexts, with key strengths being
software infrastructure and resource-constrained applications, including desktop
applications, video games, servers, and performance-critical applications.
C++ is standardized by the International Organization for Standardization (ISO),
with the latest standard version ratified and published by ISO in December 2020.Before
the initial standardization in 1998, C++ was developed by Danish computer scientist
Bjarne Stroustrup at Bell Labs since 1979 as an extension of the C language; he wanted
an efficient and flexible language like C that also provided high-level features for
program organization.

SYSTEM MODELLING

In our project we have mainly two modules. They are:

1. Customer

Page | 18
2. Administrator
3. Exit

1. CUSTOMER:
Customer is one of the modules in our project. They can purchase the available
product. The product number will be shown by the administrator. Using the product number,
they can purchase and they can enter the amount of quantity they required after completion
the admin will generate the total price of the product with discount and he also generate the
bill of the product to the customer. The steps involved are: -
1. Enter the product number of the product from the list.
2. Enter the quantity.
3. Then place your order.

2. ADMINISTRATOR:
Administrator plays a major role in our project. They are responsible to create a
product and delete new product and they can modify the product and view and they can check
the product after modification or altering the project.
Initially the administrator of the system will add the amount of the particular product
after entering the details of the product and he can also add the discount of a particular
product.
The administrator module consists of the following options:

1. Create a product.
2. Modify a product.
3. Delete a product.
4. View product menu.
5. Back to the main menu.

The functions used in this project are: -

1. menu () – This function is used for the option on the starting display where all the
options are available.
2. Administrator ()- This function is used by the administrator in this function first
the administrator login his/her id the administrator add the product, edit, remove
etc. options are available inside the function.
3. Buyer () – This the costumer basically in this function the buyer buys the product.
4. admin () – This function displays a list of function to be operated by administrator
to modify/update product details.

Page | 19
5. main () – This is the main function which just the MAINMENU from where the
control is transferred to other functions.
6. Receipt () – Basically print the receipt and send to the buyer email.
7. Remove () – remove the item form the list.

Page | 20
DATABASE DESIGN

The data in the system must be stored and retrieved from database. Designing the
database is part of system design. Data elements and data structures to be stored have been
identified at analysis stage. They are structured and put together to design the data storage
and retrieval system. A database is a collection of interrelated data stored with minimum
redundancy to serve many users quickly and efficiently. The general objective is to make
database access easy, quick, inexpensive, and flexible for the user. Relationships are
established between the data items and unnecessary data items are removed. Normalization is
done to get an internal consistency of data and to have minimum redundancy and maximum
stability. This ensures minimizing data storage required, minimizing chances of data
inconsistencies, and optimizing for updates. The MS Access database has been chosen for
developing the relevant databases.

1. ADMINISTRATION TABLE
Field Name Data Type Description
Admin Char Primary key

2. CUSTOMER TABLE
Field Name Data Type Description
Customer Char Primary key

3. PRODUCT TABLE
Field Name Data Type Description
Number Int Product’s Number
Name Char Product’s Name
Price Float Product’s Price
Quantity Float Product’s Quantity
Discount Float Product’s Discount

Page | 21
OUTPUT

Fig- Super market main menu

Page | 22
CONCLUSION
After we have completed the project, we are sure the problems in the existing system
world overcome. The “Supermarket Billing System” process made computerized to
reduce human errors & to increase the efficiency. The focus of this project is to fewer human
efforts. The maintenance of the records is made efficient, as all the records are stored in the
access database, through which data can be retrieved easily. The navigation control is
provided in all the forms to navigate through the large number of records. If the numbers of
records are very large than user must just type in the search string & user gets the results
immediately. The editing is also made simples. The user must just type in the required field &
process the modify button to update desired field. Our main aim of the project is to get the
correct bills and maintain the data of the supermarket.

Page | 23

You might also like