0% found this document useful (0 votes)
10 views7 pages

Project Report

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views7 pages

Project Report

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Green University of Bangladesh

Department of Computer Science and Engineering (CSE)


Semester: (Fall, Year: 2024), B.Sc. in CSE (Day)

Project Name
Customer Ordering System of ColdWave

Course Title: Computational Thinking and Problem Solving


Course Code: CSE 101
Section: 242_D8

Students Details

Name ID
Sree Antor Chandra Adikari 242002174

Submission Date : 17 -12-2024


Course Teacher’s Name : Mr. Abrar Hasan
Lecturer, Green University Of Bangladesh.
Project Title: Customer Ordering System of
ColdWave

Objective:
The objective of this project is to develop a simple, user-friendly ordering
system for "ColdWave" that allows customers to input their details, choose
from a menu of hot and cold drinks, and calculate the total bill based on their
orders.

Overview
This program is written in C and is designed to simulate a digital ordering
system for a cafe. Customers can select from various types of drinks, including
teas, coffees, juices, and smoothies. The system collects customer information,
displays available menu items with prices, calculates the total cost based on
the selected items and their quantities, and prints a receipt.
Features
1. Customer Details Collection
• Name
• Email
• Age
• Contact Number

2. Menu Options
• Hot Drinks: Hot Tea, Hot Coffee
• Cold Drinks: Cold Tea, Cold Coffee, Juice, Smoothies

3. Dynamic Selection
• Customers can select a drink type and then choose specific items
with corresponding prices.

4. Bill Calculation
• The total bill is computed based on the selected drink and its
quantity.

5. Receipt Generation
• Displays the customer details and total bill.

Tools and Technologies


• Programming Language: C
• Compiler : GCC/MinGW
• IDE : Code::Blocks/Visual Studio Code
Code Implementation:

Coustomer order
management system for COLDWAVE .c

D:\ADHIKARY PROGRAMMER\Projcet for Lab final\Customer ordering


system for COLDWAVE .c

Code Explanation
1. Variable Declaration
• Arrays for storing drink names and prices.
• Variables for customer information, order details, and total bill.

2. Customer Information Input


• Uses fgets for safer string input.
• Reads and stores name, email, age, and contact number.

3. Menu Display and Selection


• Displays drink categories and subcategories.
• Loops are used to list available items dynamically with their prices.

4. Bill Calculation
• Multiplies the price of the selected item by the quantity to compute
the total cost.

5. Receipt Printing
• Prints customer information and total bill in a formatted output.
Result:
Sample Input:
Sir Please Enter Name : Antor Adhikary
Please Enter Email : [email protected]
Please Enter Age : 22
Please Enter Contact Number : 01606232342

Please Choose what type of drinks you want to take:


1. HOT DRINKS
2. COLD DRINKS
2

Please Choose what type of Cold drink you want to take:


3. JUICE

Available JUICE:
1. Lemon juice ------- $20
2. Lemon mint Juice ------- $25
3. Lemon Soda ------- $35
4. Lemon- Pineapple juice ------- $40
5. Tamarind Juice ------- $40
6. Mango Juice ------- $60
7. Pineapple juice ------- $60
8. Malta juice ------- $70
9. Papaya Juice ------- $80

Enter your choice of JUICE :2


Enter the Quantity :3
Sample Output:
************** MONEY RECEIPT **************
Customer Name : Antor Adhikary
Customer Email : [email protected]
Customer Age : 22
Customer Contact : 01606232342
Total Bill : $75

******************************************
** ** THANK YOU FOR VISITING COLDWAVE ** **

******************************************
** ** ** ** ** ** HAVE A NICE DAY! ** ** ** **
*******************************************
Testing
Test Cases
1. Valid Input: Ensures accurate calculations and displays.
2. Invalid Input: Checks for appropriate error handling (e.g., invalid drink
type).
3. Boundary Cases: Verifies handling of edge cases like maximum input
sizes.

Future Improvements
1. Add a graphical user interface (GUI) for better user experience.
2. Implement a database for dynamic menu and price updates.
3. Include payment gateway integration for real-world use.
4. Enhance input validation and error handling.

Conclusion
This project successfully implements a basic customer ordering system for
ColdWave. It serves as a foundation for further development into a more
sophisticated and user-friendly application.

You might also like