Project Report
Project Report
Project Name
Customer Ordering System of ColdWave
Students Details
Name ID
Sree Antor Chandra Adikari 242002174
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.
Coustomer order
management 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.
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
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
******************************************
** ** 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.