Académique Documents
Professionnel Documents
Culture Documents
Akash Grover
Akhil Sehgal
13BCS1018
13BCS1021
This is to certify that the above statement made by the candidate is correct to the best of my
knowledge.
Project Coordinator
ACKNOWLEDGEMENT
1
I would like to express my deepest appreciation to all those who provided me the possibility
to complete this project. However, it would not have been possible without the kind support
and help of these people. I would like to extend my sincere thanks to all of them.
I am highly indebted to MS.GAGANDEEP KAUR for their guidance and constant
supervision as well as for providing necessary information regarding the project, whose
contribution in stimulating suggestions and encouragement helped me to coordinate my
project especially in writing this report.
A special thanks goes to my team mate, AKHIL SEHGAL, who help me to make the program
and gave suggestions required to make it as the efficient one.
Last but not least, many thanks go to the head of the project, MR.MAMOON RASHID who
has invested his full effort in guiding us in achieving the goals.
My thanks and appreciations also go to people who have willingly helped me out with
theirabilities in developing the project.
Akash Grover
CONTENTS
2
S. NO.
1
2
3
4
5
6
7
TOPICS
Abstract
Introduction
Departmental module
PPT module
Flow Chart
C module
Project and Activity
PAGE NO.
5
6-8
9-10
11-13
14-16
17-22
23-34
8
9
10
11
35-37
38
39
40
ABSTRACT
The advantage of the program is that there is no need to hire a person for the same only a
system is required to execute it. The Customer can work on the program and select the items
which he/she wants to order and accordingly can delete the items if required. It is user
friendly as it works as a calculator, a user can simply add or delete some item if required and
accordingly a new bill will be generated.
In short, the program is easily executable and can be easily accessed by a user. It is a great
software for the future generation as it saves time and decreases the work of the owner of the
restaurant and the waiter too. It will also help the owners to handle their customers in a better
and a comfortable way.
CHAPTER-1
INTRODUCTION
INTRODUCTION
Features:
Chapter-2
7
DEPARTMENTAL MODULES
DEPARTMENTAL MODULES
The Restaurant Billing Management System project is divided into different modules
for better understanding of the project. The modules help us to handle with errors
easily and access each and every class properly. Menu management is done by using
following features:
Selecting a category
In this we can select different categories in our menu i.e
Indian Cuisine, Chinese Cuisine, Chicken and Mutton, Continental,
Beverages, Desserts and Soups.
Choosing a item
In this we can select multiple items from different categories
according to the choice and respectively having a look on the price of it.
Deleting an item
In this category after selecting the items from different
categories we can delete an item if we want and accordingly thee bill is
managed at the end.
Biiling
In this we can see the resultant bill of the items selected by the user and
accordingly the user can verify the items and the price and can be sure of no
mistake.
Chapter-3
PPT MODULE
PPT MODULE
Previews of the presentation on Restaurant Billing Management System :
10
11
12
Chapter-4
FLOW CHART
FLOW CHART
13
14
15
Chapter-5
C MODULE
16
C MODULE
Introduction to C:
C is a general-purpose programming language initially developed by Dennis Ritchie between
1969 and 1973 at AT&T Bell Labs. Like most imperative languages in the ALGOL tradition,
C has facilities for structured programming and allows lexical variable scope and recursion,
while a static type system prevents many unintended operations. Its design provides
constructs that map efficiently to typical machine instructions, and therefore it has found
lasting use in applications that had formerly been coded in assembly language, most
notably system software like the Unix computer operating system.
History:
C is one of the most widely used programming languages of all time, and C compilers are
available for the majority of available computer architectures and operating systems.
Many
later
languages
have
borrowed
directly
or
indirectly
from
C,
including D, Go, Rust, Java, JavaScript, Limbo, LPC, C#, ObjectiveC, Perl, PHP, Python,
Verilog (hardware description language), and Unix's C shell. These languages have drawn
many of their control structures and other basic features from C. Most of them (with Python
being the most dramatic exception) are also very syntactically similar to C in general, and
they tend to combine the recognizable expression and statement syntax of C with underlying
type systems, data models, and semantics that can be radically different. C++ and ObjectiveC started as compilers that generated C code; C++ is currently nearly a superset of
C, while Objective-C is a strict superset of C.
17
Before there was an official standard for C, many users and implementers relied on an
informal specification contained in a book by Dennis Ritchie and Brian Kernighan; that
version is generally referred to as "K&R" C. In 1989 the American National Standards
Institute published a standard for C (generally called "ANSI C" or "C89"). The next year, the
same specification was approved by the International as an international standard (generally
called "C90"). ISO later released an extension to the internationalization support of the
standard in 1995, and a revised standard (known as "C99") in 1999. The current version of
the standard (now known as "C11") was approved in December 2011.
Characteristics of C :
There are a large number of arithmetical and logical operators, such as +, +=, +
+, &, ~, etc.
Typing is static, but weakly enforced: all data has a type, but implicit conversions can
be performed; for instance, characters can be used as integers.
18
Enumerated types are possible with the enum keyword. They are not tagged,
and are freely interconvertible with integers.
Strings are not a separate data type, but are conventionally implemented
as null-terminated arrays of characters.
Procedures (subroutines not returning values) are a special case of function, with an
untyped return type void.
Functions may not be defined within the lexical scope of other functions.
A preprocessor performs macro definition, source code file inclusion, and conditional
compilation.
19
C does not include some features found in newer, more modern high-level languages,
including object orientation and garbage collection.
Why to use C?
C was initially used for system development work, in particular the programs that make-up
the operating system. C was adopted as a system development language because it produces
code that runs nearly as fast as code written in assembly language. Some examples of the use
of C might be:
Operating Systems
Language Compilers
Assemblers
20
Text Editors
Print Spoolers
Network Drivers
Modern Programs
Data Bases
Language Interpreters
Utilities
Keywords
C has 32 keywords (reserved words with special meaning):
Auto
break
case
char
const
continue
default
do
Double
else
enum
extern
float
for
goto
if
Disadvantages of C:
21
Int
long
register
return
short
signed
sizeof
static
struct
switch
typedef
union
unsigned
void
volatile
while
1) C does not have OOPS feature such as polymorphism, data hiding and others, that's why
C++ is developed. It is structured programming language that cannot represent real world
object and cannot provide security.
2) There is no run-time checking in C language.
3) There is no strict type checking (for ex: we can pass an integer value for the floating data
type).
4) C doesn't have the concept of namespace.
5) C doesn't have the concept of constructors and destructors.
6) As the program extends it is very difficult to fix the bugs.
22
Chapter-6
a waiter who takes the order, as the program will show the menu as well, which will make
user to select an item to order and side by side the billing will be performed.
The advantage of the program is that there is no need to hire a person for the same only a
system is required to execute it. The Customer can work on the program and select the items
which he/she wants to order and accordingly can delete the items if required. It is user
friendly as it works as a calculator, a user can simply add or delete some item if required and
accordingly a new bill will be generated.
In short, the program is easily executable and can be easily accessed by a user. It is a great
software for the future generation as it saves time and decreases the work of the owner of the
restaurant and the waiter too. It will also help the owners to handle their customers in a better
and a comfortable way.
This program is coded in C language and includes header file like console input output
(conio.h), standard input output (stdio.h), input output stream, standard library (stdlib.h) etc.
Also, this program contains conditional statements like switch, for loop, switch, loops like do
while loop, as well as user defined functions like without argument without return type.
The conditional statements, loops and functions used in project are defined below:
like the mixed data types in lists of directory entries reading a hard drive (file length, name,
extension, physical (cylinder, disk, head indexes) address, etc.), or other mixed record type
(patient names, address, telephone... insurance codes, balance, etc.).
Switch case: Switch case statements are a substitute for long if statements that compare a
variable to several integral values (integral values are simply values that can be
expressed as an integer, such as the value of a char).
Functions: Functions that a programmer writes will generally require a prototype. When I
say that the function returns a value, I mean that the function can be used in the same manner
as a variable would be
Do while: The do-while loop is similar to the while loop, except that the test condition
occurs at the end of the loop. Having the test condition at the end, guarantees that the body
of the loop always executes at least one time.
For loop: In C a for loop is a programming language statement which allows code to be
repeatedly executed. A for loop is classified as an iteration statement.
Step 1: First of all, when the user will run the program, the user will see a heading of
WELCOME and the categories of the cuisines offered by the owner.
25
Step 2: After that the user will choose the first categoryVEGETABLES and look over to
the items and can choose the items in the category.
26
Step 3: And after choosing the items the user will be asked 3 options of whether to Choose
an another item or Go to the main menu or To ask for a bill.
27
Step 4: Next the user will go to the next category i.e Chinese by choosing the respective
option and then the user will look over to the items in this category.
28
Step 5: After this the user will follow the same step of choosing an item and selecting from
the 3 main choices.
Step 6: Next the user will move over to next category i.e. Indian Rasoi and then get over to
the items in this category and choose the respective items and then following the same step of
choosing from the 3 options.
29
30
Step 7: After that the user will get over to the next category i.e. Chicken/Mutton and chose
from the items under that category and then choosing from the 3 options.
Step 8: Following that moving over to the next category i.e. Continental, the user will be
displayed the respected items in that category and then choosing to move to next or not.
31
Step 9: Then moving over to the next category i.e.Soups the user will get the items entered
in the category.
32
Step 10: Moving over to the next category i.e.Beverages, user will be shown the items
under
33
this
category.
Step 11: The getting over to the last category i.e.DESERTS, the user will choose from the
items under this category and then choosing to ask for the bill or moving over to an another
3category and choosing an item if wanted.
Step 12: Then as the user will move to the main menu the user has the option to choose
another item from a category or press EXIT which will show the bill showing the items
choosed and the amount is displayed sideways followed by the bill.
34
Step 13: As the bill is displayed the user has the option to cancel any particular item or
cancel the whole order and followingly the user can delete any item if wanted and the new
35
bill
will
36
be
displayed.
Chapter-7
Now we will get the output results of the program as bills of different items.
A bill of items selected from all the categories of the menu:
37
Here we have an output of a bill with items deleted at the end of the billing:
38
CONCLUSION
The Restaurant Billing Management System helps the restaurant manager to manage the
restaurant more effectively and efficiently by computerizing meal ordering, billing and
inventory control. The system processes transaction and stores the resulting data.
39
Reports will be generated from these data which help the manager to make appropriate
business decisions for the restaurant. For example, knowing the number of customers
for a particular time interval, the manager can decide whether more waiters and chefs
are required.
This project when implemented it will remove all the security issues. Also, there will be
speedy and secured authentication procedure for the maintenance of records. Data
entry is fast and simple.
Therefore, our software will definitely prove to be a successful stepping stone in
replacing the outdated manual method of maintaining secure records. The work plan
also includes the detailed features of the technology used in the project defining the
front end and back end. The objectives and scope of the project in future have been
elaborated.
FUTURE SCOPE
Although the restaurant industry is very competitive, the lifestyle changes created by modern
living continue to fuel its steady growth. More and more people have less time, resources,
and ability to cook for themselves. Trends are very important and our software is well
positioned for the current interests.
So while we keep in mind the fact that there is no software that is perfect, which would also
mean there is no perfect restaurant software, we put in an endless effort to improve our
restaurant management software.
There are abundant features that are not included in this project, so we are mentioning those
features that can be added in our project in future. Those features are listed below
40
We offer flexible tax (VAT) for every item separately; our restaurant software can also
supports multiple sales taxes in future which have the need to tender more than just
one tax with their restaurant software. Speaking of taxes, this restaurant system can
accommodates multiple sales tax systems (i.e. USA, VAT, PST, ST, HST and much
more).
BIBLIOGRAPHY
BOOKS
1)
2)
3)
4)
5)
ANSI C by Balaguruswami.
Turbo C by Moolish Cooper.
Let Us C by Yashwant Kanetkar.
Working with C by Yaswant Kanetkar.
Programming in C by Hemant Goyal.
WEBLINKS
www.google.co.in
41
www.yahoo.com
www.wikipedia.co.in
www.ebooks.in
42