This is a simple Food Ordering System built in C. The user can select categories like Fast Food, Drinks, and Desserts, then choose items, set quantities, and receive a final price summary.
- ποΈ Menu categories: Fast Food, Drinks, Desserts
- π Item selection with prices
- π’ Quantity input per item
- π° Auto subtotal and total calculation
- π§Ύ Order summary at the end
- User selects a category
- Chooses an item from the menu
- Inputs the quantity
- Program adds the item to the order
- At the end, all items with total price are displayed
- Please choose a category:
1. Fast Food
2. Drinks
3. Desserts
0. Finish Order
-> 1
- You selected Fast Food. Please choose an item:
1. Burger - 25 MAD
2. Fries - 10 MAD
3. Pizza - 40 MAD
0. Back
-> 2
Enter quantity: 2
Fries added to your order.
Total: 20 MAD
...
π§Ύ Order Summary:
- 2 x Fries = 20 MAD
- 1 x Cola = 8 MAD
Total to pay: 28 MAD
This is a good beginner-friendly project to learn:
- Functions
- Switch-case
- Loops
- Structs (for storing orders)
- Basic logic building in C
main.cβ All the source code
Made by itsW0LFIX β enjoy and feel free to contribute!