CP Mini Project

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

BILLING SYSTEM

MINI PROJECT
Submitted by

SRIJA. T -73772222119
KAMAL RAJ.S - 73772222107

60CSOO1-C PROGRAMMING
in partial fulfillment of the requirement
for the award of the degree

of

B.TECH
in

DEPARTMENT OF TEXTILE TECHNOLOGY


K.S. RANGASAMY COLLEGE OF TECHNOLOGY
(An Autonomous Institution, affiliated to Anna University Chennai and Approved by AICTE, New Delhi)

TIRUCHENGODE – 637 215

DECLARATION

We jointly declare that the project report on “COFFEE SHOP BILLING


SYSTEM ” is the result of original work done by us and best of our

1
knowledge, similar work has not been submitted to “ANNA UNIVERSITY
CHENNAI” for the requirement of Degree of B.TECH. This Mini Project report
is submitted on the partial fulfilment of the requirement of the award of
Degree of B.TECH.

Place: Tiruchengode

Date: 26/03/2023

TABLE OF CONTENT

2
S.NO TITLE PAGE NO

1 ABSTRACT 4

2 OBJECTIVE 4

3 INTRODUCTION 5

4 PROBLEM STATEMENT 6

5 MODULE DESCRIPTION 7

6 CODE 8

7 INPUT 11

8 OUTPUT 11

ABSTRACT

3
The coffee shop billing project aims to develop a billing system for
a coffee shop that can efficiently handle customer orders, generate
accurate bills, and manage inventory. The system will be designed to
streamline the billing process, reduce errors, and increase customer
satisfaction. It will also provide the coffee shop management with
valuable data on sales, inventory, and customer preferences. The project
will involve the use of various technologies, such as a user-friendly
interface for order entry, a database for tracking inventory and sales, and
an automated billing system for generating accurate bills. The coffee
shop billing system will be a valuable asset to the coffee shop, improving
operational efficiency and customer experience.

OBJECTIVE

The main objective of the coffee shop billing project is to develop a


reliable and efficient billing system for a coffee shop that can effectively
manage customer orders, generate accurate bills, and keep track of
inventory. The system should be user-friendly, easy to navigate, and
should reduce errors in the billing process. The project aims to provide
the following benefits:

 Streamline the billing process and improve operational efficiency.


 Reduce errors in billing and inventory management.
 Increase customer satisfaction by providing accurate bills and
efficient service.
 Generate valuable data on sales, inventory, and customer
preferences for management use.
 Provide a scalable and flexible solution that can be easily
customized and adapted to meet the changing needs of the coffee
shop.
 Overall, the objective of the coffee shop billing project is to create a
reliable, efficient, and user-friendly system that can help the coffee
shop improve its operations and provide a better customer
experience.

4
INTRODUCTION

The coffee shop billing project is aimed at developing a billing


system for a coffee shop using the C programming language. The system
will be designed to automate the billing process, streamline customer
orders, and manage inventory. The primary goal of the project is to create
a user-friendly, efficient, and accurate billing system that can improve the
operational efficiency of the coffee shop and increase customer
satisfaction.

The coffee shop billing system will be designed to handle a range


of features, including order entry, item inventory tracking, and automated
billing. The system will be designed to reduce errors in the billing process
and increase the speed of service. By providing valuable data on sales,
inventory, and customer preferences, the coffee shop billing system will
help the coffee shop management make informed decisions on inventory
management and pricing.

The project will involve the use of various technologies such as C


programming language, database management systems, and user
interface design. The system will be scalable and flexible, allowing the
coffee shop to adapt and customize it to meet the evolving needs of the
business.

PROBLEM STATEMENT

The current manual billing system used by the coffee shop is time-
consuming and prone to errors. The lack of an efficient billing system has
5
resulted in slow service and inaccurate billing, leading to dissatisfied
customers. The current system also lacks a mechanism for inventory
tracking, making it difficult for the coffee shop management to make
informed decisions on inventory management and pricing.

The coffee shop needs a reliable and efficient billing system that
can automate the billing process, streamline customer orders, and
manage inventory. The system should be user-friendly, easy to navigate,
and reduce errors in the billing process. The coffee shop also needs a
system that can generate valuable data on sales, inventory, and customer
preferences, which can be used by management to make informed
decisions on inventory management and pricing.

Therefore, the problem statement for the coffee shop billing project
is to develop a billing system using the C programming language that can
automate the billing process, streamline customer orders, and manage
inventory. The system should be designed to reduce errors in billing,
improve operational efficiency, and increase customer satisfaction. It
should also provide valuable data on sales, inventory, and customer
preferences that can be used by the coffee shop management to make
informed decisions on inventory management and pricing.

MODULE DESCRIPTION

The coffee shop billing project in C will involve the development of


several modules that work together to create an efficient and reliable
billing system. These modules are:

6
User Interface Module: This module will provide a user-friendly interface
for order entry. It will allow the user to enter customer orders, view the
menu, and select payment options.

Billing Module: This module will calculate the bill for each order and
generate an accurate receipt. It will include the cost of each item, taxes
and discounts.

Inventory Management Module: This module will track the inventory of


items in the coffee shop. It will provide data on the number of items sold,
the remaining stock, and alerts when an item is low in stock.

Reporting Module: This module will generate reports on sales, inventory,


and customer preferences. It will help the coffee shop management
make informed decisions on inventory management and pricing.

Payment Processing Module: This module will handle payment


processing, including cash, credit card, and mobile payment options. It
will be designed to integrate with the billing module to ensure accurate
payment processing.

Error Handling Module: This module will handle errors that may occur
during the billing process, such as incorrect orders or payment
processing errors.

Overall, these modules will work together to create a comprehensive


billing system for the coffee shop, improving operational efficiency and
customer experience.

CODE

#include <stdio.h>
int main()
{
int b[10],z,x[100],a,r[100];

7
int n,i,j,s=0;
printf("\t\t\t\t\t\t Menu Card");
printf("\nNumber\tFoods:\t\t\t\t\tRs.");
printf("\n 1\t Tea\t\t\t\t\t10");
printf("\n 2\t Coffee \t\t\t\t15");
printf("\n 3\t Cold Coffee\t\t\t\t50");
printf("\n 4\t Milk Shake\t\t\t\t60");
printf("\n 5\t Juice\t\t\t\t\t40\n");
printf("\nEnter Table Number:");
scanf("%d",&a);
printf("Enter Number of Items: ");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
printf("\nEnter Food Number: ");
scanf("%d",&b[i]);
printf("Enter Qty: ");
scanf("%d",&x[i]);
}
printf(" -----------------------------------------------------------------------------------------------------
---------------\n");
printf("\t\t\t\t\t\tABC Restaurant\n");
printf("\t\t\t\t\t\t Tirupur,Tamil Nadu\n");
printf("\t\t\t\t\t\tGSTIN:PK78ASIN6H78WQ1\n");
printf("\tPhone Number: 9300230011”);
printf(“\t\t\t\t\t\tInovice Number: TN0067Q9\n”);
printf(“\Te-Mail:[email protected]”);
printf(“\t\t\t\t\t\tTable Number:%d\n”,a);
printf(“ -----------------------------------------------------------------------------------------------------
---------------\n”);
printf(“\n\tItem \t\tQty\t\tRate\t\tTotal”);
printf(“\n”);
for(i=1;i<=n;i++){
switch(b[i]){
case 1:

8
printf(“\n\tTea “);
printf(“\t\t%d”,x[i]);
printf(“\t\t10”);
r[i]=x[i]*10;
printf(“\t\t%d”,r[i]);
break ;

case 2:
printf(“\n\tCoffee “);
printf(“\t\t%d”,x[i]);
printf(“\t\t15”);
r[i]=x[i]*15;
printf(“\t\t%d”,r[i]);
break ;

case 3:
printf(“\n\tCold Coffee “);
printf(“\t\t%d”,x[i]);
printf(“\t\t50”);
r[i]=x[i]*50;
printf(“\t\t%d”,r[i]);
break ;

case 4:
printf(“\n\tMilk Shake “);
printf(“\t\t%d”,x[i]);
printf(“\t\t60”);
r[i]=x[i]*60;
printf(“\t\t%d”,r[i]);
break ;

case 5:
printf(“\n\tJuice “);
printf(“\t\t%d”,x[i]);
printf(“\t\t40”);

9
r[i]=x[i]*40;
printf(“\t\t%d”,r[i]);
break ;
}
}
printf(“ \n-------------------------------------------------------------------------------------------------
-------------------\n”);
printf(“\t\t\t\t\t\tTotal Qty: %d”,n);
for(i=1;i<=n;i++){
s=s+r[i];
}
printf(“\n\t\t\t\t\t\tSub Total: %d”,s);
printf(“\n\t\t\t\t\t\Tcgst IN: %d”,s/9);
printf(“\n\t\t\t\t\t\Tsgst IN: %d”,s/9);
printf(“\n\t\t\t\t\t\Tgrand TOTAL : %d”,s+(s/9)+(s/9));
printf(“\n\n\t\t\t\t\Tthank YOU VISIT AGAIN”);
return 0;
}

INPUT:

Enter Table Number : 23


Enter Number of Items : 2

Enter food Number : 1

10
Enter Qty : 3

Enter Food Number : 4


Enter Qty : 5

OUTPUT:

----------------------------------------------------------------------------------------------------------
ABC Restaurant
Tirupur, Tamil Nadu
GSTIN : PK78ASIN6HWQ1
Phone Number : 9300230011 Invoice Number:
TN0067Q9
E-Mail : [email protected] Table Number : 23
----------------------------------------------------------------------------------------------------------
Item Qty Rate Total

Tea 3 10 30
Milk Shake 5 60 300

Total Qty: 2
Sub Total : 330
CGST IN: 36
SGST IN:36
GRAND TOTAL: 402

THANK YOU VISIT AGAIN

11

You might also like