Restaurant Management System
Short Description
This is a c based restaurant management system....
Description
DECLARATION
We hereby certify that the project entitled “Restaurant Billing Management” by Akash Grover, UID- 13BCS1018 in partial fulfillment of requirements for the award of degree of B.E. (Computer Science & Engg.) submitted in the Department of Computer Science at, is an authentic record of our own work carried out under the supervision of Er. Memoon Rashid. The matter presented has not been submitted by me in any other University / Institute for the award of B.E. Degree.
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.
Er. Mamoon Rashid
Er. Amit Verma
Project Coordinator
HOD (CSE Deptt.)
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
Result and discussion Conclusion Scope for future use Bibliography
35-37 38 39 40
ABSTRACT
The “RESTAURANT BILLING MANAGEMENT” is a basic program used in restaurants. The main aim is to perform basic function that a waiter and the owner of the restaurant can do. As the name of the project suggest, the project is about billing but it also covers the job of 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.
3
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.
Requirements definition and management is recognized as a necessary step in the delivery of successful system s and software projects, discipline is also required by standards, regulations, and quality improvement initiatives. Creating and managing requirements is a challenge of IT, systems and product development projects or indeed for any activity where you have to manage a contractual relationship. Organization need to effectively define and manage requirements to ensure they are meeting needs of the customer
4
CHAPTER-1
INTRODUCTION
INTRODUCTION
What is Restaurant Management? Restaurant management is the profession of managing a restaurant. It includes the major function of planning, organizing, staffing, directing, developing an attitude in food and beverage control systems and to efficiently and effectively plan menus at profitable prices, taking into consideration constraints, preparation and other variables affecting food and beverages outlets. 5
Restaurant management is the profession of managing a restaurant. It includes the major function of planning, organizing, staffing, directing, developing an attitude in food and beverage control systems and to efficiently and effectively plan menus at profitable prices, taking into consideration constraints, preparation and other variables affecting food and beverage outlets. The Restaurant Billing Management Software program is a comprehensive restaurant management tool designed for foodservice management of all types. It is simple to learn and easy to use. This system processes transaction and stores the resulting data. 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. Restaurant Software Systems are essential to the successful operation of most foodservice establishments because they allow the business to track transactions in real-time.
Features:
It increases operational efficiency. It is designed to help you cost your recipes and track inventory saving your Money and Time and maximizing profit. It helps the restaurant manager to manage the restaurant more effectively and efficiently by computerizing Meal Ordering, Billing, and Sales Management. Accounting. It increases the security. It avoids paper work. It is Simple to learn and easy to use. It is portable.
6
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:
Add Menu items In this we Add Items in a menu by assigning a unique number to each item. When we add any item we give description as category, full name and price for each item. The access of the item is given to the Owner of the restaurant.
8
View Full Menu As the name indicates in this we display the full information f all the items in a menu. Only outlook of all the items is displayed, no editing is performed.
9
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 is a small, fixed number of keywords, including a full set of flow of control primitives: for, if/else, while, switch, and do/while. There is one namespace, and user-defined names are not distinguished from keywords by any kind of sigil.
There are a large number of arithmetical and logical operators, such as +, +=, + +, &, ~, etc.
More than one assignment may be performed in a single statement.
Function return values can be ignored when not needed.
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
Declaration syntax mimics usage context. C has no "define" keyword; instead, a statement beginning with the name of a type is taken as a declaration. There is no "function" keyword; instead, a function is indicated by the parentheses of an argument list.
User-defined (typedef) and compound types are possible.
Heterogeneous aggregate data types (struct) allow related data elements to be accessed and assigned as a unit.
Array indexing is a secondary notation, defined in terms of pointer arithmetic. Unlike structs, arrays are not first-class objects; they cannot be assigned or compared using single built-in operators. There is no "array" keyword, in use or definition; instead, square brackets indicate arrays syntactically, e.g. month.
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.
Low-level access to computer memory is possible by converting machine addresses to typed pointers.
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.
Function and data pointers permit ad hoc run-time polymorphism.
A preprocessor performs macro definition, source code file inclusion, and conditional compilation.
19
There is a basic form of modularity: files can be compiled separately and linked together, with control over which functions and data objects are visible to other files via static and extern attributes.
Complex functionality such as I/O, string manipulation, and mathematical functions are consistently delegated to library routines.
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
PROJECT & ACTIVITY
PROJECT AND ACTIVITY
The “RESTAURANT BILLING MANAGEMENT” is a basic program used in restaurants. The main aim is to perform basic function that a waiter and the owner of the restaurant can do. As the name of the project suggest, the project is about billing but it also covers the job of 23
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:
Structure: A structure in the C programming language is a complex data type declaration that defines a physically grouped list of variables to be placed under one name in a block of memory, allowing the different variables to be accessed via a single pointer, or the structure declared name which returns the same address. The structure can contain many other complex and simple data type in an association, so is a natural organizing type for records 24
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.
A brief description of the project explained below in steps:
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 category”VEGETABLES” 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
RESULTS AND DISCUSSIONS
RESULTS AND DISCUSSION
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
Here is a bill including only the beverages selected by a user:
CONCLUSION
In our Project entitled “RESTAURANT BILLING MANAGEMENT SYSTEM” we have tried our best to fulfill all the requirements of restaurant. The project being simple and flexible is running successfully. The main advantage of our project is that its simplicity attracts a lot of users. It can be easily run by a novice user. Our software can be used in any kind of restaurant (Sandwich Shop, Pizzeria, Steak House, Deli, Buffet, and Catering business, Doughnut or Pastry Shop, Hotel restaurant/kitchen and more).
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
The Software can be used with a Web Based Interface.
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).
In future, when speaking of international features, our restaurant software can accommodates all world currencies. And if by any chance, your currency is not readily available in this restaurant software, you can simply add it yourself.
In future, our restaurant software can be of “multilanguage” and “self translating” as well.
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
View more...
Comments