Green University of Bangladesh
Department of Computer Science and Engineering (CSE)
Semester: (Fall, Year: 2022), B.Sc. in CSE (Eve)
Restaurant Billing System
Course Title: Structured Programming Lab
Course Code: CSE 104
Section: 222 EA
Students Details
Name ID
Adnan al-emran ontor 222015033
Submission Date: 05/01/2023
Course Teacher’s Name: Md. Jahidul Islam
Designation: Assistant Professor
[For teachers use only: Don’t write anything inside this box]
Lab Project Status
Marks: Signature:
Comments: Date:
Contents
1 Introduction ..........................................................................................................................2
1.1 Overview ............................................................................................................................2
1.2 Motivation ..........................................................................................................................2
1.3 Design Goals/Objectives ..................................................................................................2
1.4 Application .........................................................................................................................2
2 Design/Development/Implementation of the Project ....................................................3
2.1 Introduction .......................................................................................................................3
2.2 Project Details....................................................................................................................3
2.3 Implementation .................................................................................................................4
3 Performance Evaluation ......................................................................................................7
3.1 Simulation Environment/ Simulation Procedure ..........................................................7
3.2 Results Analysis .................................................................................................................7
3.2.1 Result_portion_1 ...........................................................................................................8
3.3 Results Overall Discussion................................................................................................8
4 Conclusion .............................................................................................................................8
4.1 Discussion ...........................................................................................................................8
4.2 Limitations..........................................................................................................................9
4.3 Scope of Future Work .......................................................................................................9
Chapter 1
1
Introduction
1.1 Overview
The project "Restaurant Billing System" is a basic program used in restaurants. The
main aim is to perform the process of ordering and billing a "Restaurant". This system
is named as Restaurant Billing System. This is designed especially for a restaurant that
wants to attend to its customers in a very well manner. This system has the capability
to give the receipt, in which GST is also included, to the customers The program is
easily executable and can be easily accessed by a user. It is great software for saving
time and decreasing the work of the owner of the restaurants.
1.2 Motivation
• With this project, the seller will be able to prepare accurate and precise
restaurant
• bills, through which the buyer will get an account of his expenses.
• Using this project will save a lot of time.
• it will help modernize the business
1.3 Design Goals/Objectives
Through this project, we will create reality-based applications using various
components of the C program. In this project, the seller will be able to prepare
accurate and precise restaurant and it will help modernize the business ,
1.4 Application
This C Program for Customer Billing System is a simple console application designed to
demonstrate the practical use of the C programming language and its features as well
as generate an application that can be used for billing to the customer.
2
Chapter 2
Design/Development/Implementation
of the Project
2.1 Introduction
The project “Billing system” is an application to automate the process of ordering and
billing a “Restaurant”. This console application is designed considering
2.2 Project Details
Figure 2.1: Billing Skin
Customer name: we get customer name
Enter the number of items: User can buy multiple products so we will use for loop
here, A total number of items ordered are given here for every item the quantity is
also mentioned.
generateBillHeder, generateBillBody, generateBillFooter: In these three places we
can arrange different types of bill calculations and UI (There are user defined function)
3
generateBillHeder: Print Retardant name , Print date , Print Invoice name , Items, qty,
Total .
generateBillBody : print Item ,qty and calculate qty * price
generateBillFooter: Calculate 10% discount , calculate netTotal=total-dis , calculate
VAT , print Sub total, Discount @10, Net Total, Grand Total .
Total price: The total price of every item which is a multiplication of the item number
with price is mentioned here.
Taxes: As there are various taxes are levied on the food items. Each kind is calculated
and mentioned here. we add 5parent VAT
Grand Total: It is a total of all including taxes and another item total
2.3 Implementation
Tools and libraries: Computer, OS (Windows or Linux), c programming ide
(Clion or Code: Blocks)
Implementation details (with screenshots and programming codes)
4
Figure
2.4: code
Figure 2.5: code
5
6
Chapter 3
Performance Evaluation
3.1 Simulation Environment/ Simulation Procedure
1. create new project in codeblocks
2. Project name: Restaurant Billing System
3. write code
4.run program
5. input user define data
6.output
3.2 Results Analysis
TESTING: In order to find any errors or the problems in the application, testing is
carried out. Software Testing is the validation and certification process where the
software fulfils the requirements of the users and project specifications. Since this is
a desktop application testing is done in only one environment i.e., on the Windows 10
environment.
Input aria (as a dashboard):
Output aria:
7
3.2.1 Result_portion_1
3.3 Results Overall Discussion
Frist, we get, date
And invoice name, by user define data
And item qty total amount, we add 10% Discount add 5%vat
Lest we get Grand total. And it is very good and fast giving us output
Chapter 4
Conclusion
4.1 Discussion
Finally, in the restaurant billing system source code, the outcome of all the time hard
work is here. We have a system that takes the necessary choices of the customer
8
according to the various filter like price, food name, and popularity. Then he is able to
place the order accordingly and then the system calculates all the total of the order
with taxes and then it can dispatch the bill that is handed over to the customer.
4.2 Limitations
This is a console program and no data can be saved for later .
Management and Billing System Project in C is not working with Turbo C IDE. Maybe if
you are Codeblocks IDE User then it will show you “windows.h” Error. (Because I’m
sure you will use “GNU GCC” that is not for windows, You need to change your
compiler and Install the MinGW compiler, MinGW is the minimum GNU for windows
users.
4.3 Scope of Future Work
In future, this application can be updated with some more items. Many other latest
features will be added. Project will surely be enhanced with respect to looks and
appearance and also as per user requirements. Many more functionalities will be
added. Some enhancement can also be done with calculator. For now, this application
generates the bill but with respect to future application it will be enhanced that it will
also print a bill. It can also be used on a large scale. Many more modification can do
with menu or prices or tax as well. It will be easy to use and bug free to all future or
upcoming users. This can also be enhanced in future as per
References :
https://www.cprogramming.com/