CampusBites is a comprehensive cafeteria management system designed for a college campus environment. The system helps manage menu items, customer orders, loyalty programs, and generates daily sales reports.
- Organized menu categories:
- Vegetarian
- Vegan
- Gluten-Free
- Specialty
- Drinks
- Each item includes:
- Name
- Price
- Category
- Dietary restrictions
- Availability tracking
- Customer registration with:
- Name
- Contact information
- Dietary preferences
- Loyalty program
- 1 point for every $50 spent
- Points can be redeemed for discounts
- Interactive order placement
- Multiple items per order
- Real-time inventory tracking
- Loyalty points integration
- Payment processing
- Daily sales reports
- Order history
- Total revenue tracking
- Number of orders processed
- C++ compiler (Dev-C++ recommended)
- Standard C++ libraries
- Minimum 512MB RAM
- Terminal/Console support
- Create a new C++ project in your IDE
- Copy the entire code into a single file named
coms.cpp
- Compile and run the program
- Run the compiled executable
- Main menu will display available options
- Select Option 1
- Enter customer details:
- Name
- Contact number
- Dietary preferences
- Select Option 2
- Displays all available items with:
- ID
- Name
- Price
- Availability
- Select Option 3
- Enter item ID and quantity
- Add multiple items
- Apply loyalty points if available
- Process payment
- Select Option 4
- View daily sales summary
- Total revenue
- Number of orders
=== CampusBites Menu ===
Vegetarian:
1. Veggie Burger - $8.99
2. Veggie Wrap - $7.49
3. Grilled Cheese Sandwich - $5.99
4. Vegetable Stir Fry - $9.49
Vegan:
5. Vegan Buddha Bowl - $10.99
6. Vegan Tacos - $8.49
7. Vegan Quinoa Salad - $9.29
8. Vegan Chili - $7.99
[...additional categories...]
- Maximum 20 menu items
- Maximum 100 customers
- Maximum 100 orders
- Maximum 10 items per order
- Maximum 5 customizations per item
- Invalid menu selections
- Insufficient inventory
- Invalid loyalty points usage
- Order capacity limits
- Register customer before placing orders
- Check item availability before ordering
- Review order details before payment
- Generate daily reports at end of day
This system is designed for educational purposes and demonstrates the implementation of Object-Oriented Programming concepts in C++.