Project Report
Project Report
On
The accomplishment of this project would have not been possible individually without the
encouragement, assistance and valuable support from various sources. Thus my whole
hearted thanks to “Almighty”. Knowledge and co-operation are essential for success in any
project field.
Primarily, we would like to thanks Professor Dr. Sonal Sharma, Dean Uttaranchal School
of Computing Sciences for providing a healthy and encouraging environment to study.
We profusely thankful to the department of computer science and applications, and our guide
project Coordinator Mr.Ishteyaaq Ahmad for inspiring me to deliver the best in this project.
She always had been very helpful whenever I needed any guidance from her.
In the end I would like to thanks my parents who help me directly or indirectly in the
completion of this project.
R
enuka Semwal
BSc.IT
1st Semester
DECLARATION
I hereby declare that the project report entitled “Restaurant Billing System” Submitted by
Renuka to Uttaranchal School of Computer Science. The project was done under the
guidance of Mr. Ishteyaaq Ahmed I further declare that the work reported in this project has
not been submitted and will not be submitted either in part of or in full , for the award of any
other degree or diploma in his university or any other university or institute .
Renuka Semwal
BSc.IT
1st Semester
CERTIFICATE OF ORIGINALITY
This is certify that Renuka student of BSC.IT 1st semester at Uttranchal School of Computer
Sciences, Dehradun has completed project Titled “Titled “RESTAURANT BILLING
SYSTEM” using ‘c’ programming language in Turbo c++ for the batch (2022-2025).
Ishteyaaq Ahmed
Assistant professor
TABLE OF CONTENTS
S. No Content Page No.
Acknowledgment I
Declaration II
Certificate of Originality III
Table of Content
1. Introduction 1-3
5.1 Objective of the Project
5.2 Scope of the project
6. Appendices
6.1 coding
7. Bibliography
INTRODUCTION
The project is “Restaurant Billing System” software for monitoring and controlling
the transaction in a restaurant.
This is designed especially for a restaurant which wants to attend their 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 user . It is great
software for saves time and decreases the work of the owner of the restaurants.
The main aim is to perform the project of ordering and billing of a restaurant.
OBJECTIVE OF THE PROJECT
Availability: The all transaction of restaurant stored permanently in the database admin
can see the data in the availability of any information.
Flexibility: The system should be modifiable depending on the changing needs if the
user. It also be portable to different computer system but not other than window OS.
To provide a computer-based billing system for accurate computation of bills.
To generate a receipt when performing a service.
To reduce the time , energy, and resources that was being consumed when performing .
SCOPE OF THE PROJECT
EXISTING SYSTEM
When we analysed that in the management of dairy is working with the manual method . And
we all know that the manual system has many disadvantages. Some are mentioned below….
PROPOSED SYSTEM
Basic Modules:
Coding Output
CONCLUSION
The urge for the digital restaurant management systems is increasing day by date,Restaurant
Billing system Using C is a perfect solution for this.Through this the ease of access and
felexibility of the day to day works in the restaurant is made simple. The features such as bill
number, CGST and SGST make this software user friendly. Both the management side and
worker site can manage the data easily using such a system .It is very good and reliable
system which can be in corporate to the chain of hotels so can easily maintained and
addressed.
LIMITATION OF THE PROJECT
Invoices can go into spam folders due to flagging by email servers; that leads to delay
of payments.
Reaching offline customers who do not access the internet makes the process difficult.
Automatic invoices and management system reduces human mediation, which
reduces personal touch for the business.
Irregularity of updates can lead to hardships and hassles between purchases and
credits.
FUTURE SCOPE OF THE PROJECT
#include<stdio.h>
#include<stdlib.h>
int again;
int total=0;
float gst,cgst,sgst;
int bfrate[7][2]={ {0,30},
{1,35},
{2,40},
{3,20},
{4,15},
{5,20},
{6,30}
};
int lunchrate[7][2]={{0,80},
{1,120},
{2,20},
{3,120},
{4,150},
{5,160},
{6,30}};
int dinner_rate[7][2]={{0,65},
{1,50},
{2,70},
{3,80},
{4,65},
{5,110},
{6,50}};
int purchased[][3]={{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0}
};
int temp[][3]={{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0}
};
void bfast(char bfmenu[][100]);
void lunch( char lunchmenu[][100]);
void dinner(char dinnermenu[][100]);
void main_menu();
void display();
void lunch_menucard();
void dinner_menu();
void display_bf_bill(char bfmenu[][100]);
void display_lunch_bill(char lunchmenu[][100]);
void display_dinner_bill(char dinnermenu[][100]);
void display_bfmenu();
void repeatbf(char bfmenu[][100]);
void repeatlunch(char lunchmenu[][100]);
void repeatdinner(char dinnermenu[][100]);
void display_total_words();
void main()
{
char bfmenu[][100]={"toast","Idli-
wada","Dosa","Upma","milk","tea","coffee"};
char lunchmenu[][100]={"Veg Biryani","Special meal","Roti","Dal","Paneer
Tikka","Veg mix","Icecream"};
char dinnermenu[][100]={"Fried rice","Spegatti","Burger"};
char choice;
do
{
enter:
display();
printf("Enter your choice here : ");
scanf("%c", &choice);
getchar();
switch(choice)
{
case 'A':
case 'a':printf("\nBreakfast\n");
bfast(bfmenu);
break;
case 'B':
case 'b':printf("\nLunch\n");
lunch(lunchmenu);
break;
case 'C':
case 'c':printf("\nDinner\n");
dinner(dinnermenu);
break;
default:printf("\nWrong choice entered Please enter the valid choice!!\
n");
goto enter;
}
}while(choice!='d');
}
void display()
{
printf(" Welcome to Restaurant. \n ");
printf(" +============================+ \n\n");
printf(" && Please select the meal that you would like to purchase. && \n\
n");
printf("\t\t [A] Breakfast\n");
printf("\t\t [B] Lunch\n");
printf("\t\t [C] Dinner\n");
}
void display_bfmenu()
{
printf(" Welcome to Restaurant. \n ");
printf(" +============================+ \n\n");
printf(" $ Breakfast Menu $ \n\n");
printf(" && Please select the food that you would like to purchase. && \n\
n");
printf("\t\t [0] Toast - Rs 30.00\n");
printf("\t\t [1] Idli-Vada - Rs 35.00\n");
printf("\t\t [2] Dosa - Rs 40.00\n");
printf("\t\t [3] UPMA Rs 20.00\n");
printf("\t\t [4] Milk- Rs 15.00\n");
printf("\t\t [5] Tea - Rs 20.00\n");
printf("\t\t [6] Coffee - Rs 30.00\n");
}
void bfast(char bfmenu[][100]) //Breakfast Menu Screen
{
int choice = 0; //local variables
int quantity = 0;
int again = 0,amt=0;
int code,i;
display_bfmenu();
printf("\nEnter the code:: ");
scanf("%d", &code);
getchar();
printf("Total is %d\n\n",total);
if(code>=0&&code<=6)
{
printf("\nEnter the quantity::");
scanf("%d",&quantity);
purchased[code][1]= quantity*bfrate[code][1]; /purchased[code][1]+
(quantity*bfrate[code][1]);/
total+=purchased[code][ 1];
printf("Total is %d\n\n",total);
gst=total*0.12;
cgst=gst/2;
sgst=cgst;
}
else
{
printf("\nInvalid code entered, Please enter the code again!!!!\n\n");
bfast(bfmenu);
}
repeatbf(bfmenu);
}
void repeatbf(char bfmenu[][100])
{
printf("\nWould you like to buy anything else?\n[1] Yes , [2] No : "); //
Allows user to choose whether to check-out or buy anything else.
scanf("%d",&again);
if (again == 1)
bfast(bfmenu);
else if (again == 2 )
{
display_bf_bill(bfmenu);
exit(0);
}
else
{
printf("\n\n\t\tSorry Invalid Decision Entered\n");
repeatbf(bfmenu);
}
}
void display_bf_bill(char bfmenu[][100])
{
int i;
printf(" +~~~~~~~~~~~~~~~~~~~~+ \n\n");
printf(" RESTAURANT \n");
printf(" BILLING INFORMATION \n");
printf("\t\t ITEMS\t\tPrice(in Rs.)\n");
for(i=0;i<7;i++)
{
if(purchased[i][1]!=0)
{
printf("\t\t%s\t\t",bfmenu[i]);
printf("%d\n",purchased[i][1]); /purchased[i][1]);/
}
}
printf("\t\tGST=Rs.%0.2f\n",gst);
printf("\t\tC-GST=Rs.%0.2f\n",cgst);
printf("\t\tS-GST=Rs.%0.2f\n",sgst);
printf("\t\tTotal=Rs.%d\n",total);
}
printf("\t\tGST=Rs.%0.2f\n",gst);
printf("\t\tC-GST=Rs.%0.2f\n",cgst);
printf("\t\tS-GST=Rs.%0.2f\n",sgst);
printf("\t\tTotal=Rs.%d\n\n",total);
https://www.javatpoint.com
https://www.scribd.com/document
https://www.freeprojectz.com