Professional Documents
Culture Documents
Project 2
Project 2
Project 2
MICRO PROJECT
Programming in ‘C’
With title
2|Page
DECLARATION
CERTIFICATE
4|Page
INDEX
SR. No content Page no.
1 Introduction 06
2 Aim of Project 06
3 Project coding 07
4 Project Output 12
5 Resources required 13
6 Skill Development 14
7 Conclusion 14
5|Page
Restaurant billing system
Introduction :
1) The aim of the study is to develop a billing system for hotel industry.
2) To design a system that can be used to store customers billing records.
3) To implement a system that can be used to retrieve and update customer
billing records easily.
6|Page
Project Coding:
#include<stdio.h>
#include<conio.h>
struct about{
char name[50];
char adrs[100];
};
prtline();
void main()
{
struct about s[10];
clrscr();
textcolor(YELLOW);
cprintf("\n ____________ Menu Card _________________\n\n");
printf("\n
++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++\n");
7|Page
printf("\n CUSTOMER INFORMATION :\n ");
printf("\n Customer Name: ");
scanf("%s", s[1].name);
switch(n)
{
case 1:
n=25;
gst=(n/100)*18;
total=n+gst;
break;
case 2:
n=200;
gst=(n/100)*18;
total=n+gst;
break;
8|Page
case 3:
n=60;
gst=(n/100)*18;
total=n+gst;
break;
case 4:
n=40;
gst=(n/100)*18;
total=n+gst;
break;
case 5:
n=50;
gst=(n/100)*18;
total=n+gst;
break;
case 6:
n=80;
gst=(n/100)*18;
total=n+gst;
break;
case 7:
n=30;
gst=(n/100)*18;
total=n+gst;
break;
case 8:
n=50;
gst=(n/100)*18;
total=n+gst;
break;
9|Page
case 9:
n=100;
gst=(n/100)*18;
total=n+gst;
break;
case 10:
n=60;
gst=(n/100)*18;
total=n+gst;
break;
case 11:
n=60;
gst=(n/100)*18;
total=n+gst;
break;
case 12:
n=85;
gst=(n/100)*18;
total=n+gst;
break;
case 13:
n=45;
gst=(n/100)*18;
total=n+gst;
break;
case 14:
n=60;
gst=(n/100)*18;
total=n+gst;
break;
10 | P a g e
case 15:
n=120;
gst=(n/100)*18;
total=n+gst;
break;
}
prtline();
textcolor(WHITE);
cprintf("\nThank you! do visit again\n");
getch();
prtline()
{
printf("\n
==============================================
=============================== \n");
}
11 | P a g e
Project Output :
12 | P a g e
Resources Required :
3. WebSites: ...
https://www.geeksforgeeks.org/f
References
ood-ordering-system-in-c/
Books: Let Us C - by Yashvant
Kanetkar
13 | P a g e
Skills Developed :
Conclusion :
14 | P a g e