Maria F. answered 15d
Computer Science Tutor with 6+ Years of Experience | Java| C++|Python
You should approach this by building a simple C++ menu-based ordering system using classes and file handling.
First, store the 10 menu items in a text file and read them into arrays or a vector when the program starts, then display the menu to the customer.Create a class like Order that handles adding items, calculating subtotal, and generating the final bill. After the customer selects items, calculate total price, then apply 10% service tax and 13% VAT on the subtotal to get the final bill.Each time a customer places an order, treat it as a new object and generate a fresh bill. You don’t need to support editing orders for this MVP.Use function overloading for things like calculating totals (for example, one function for item list, another for direct amount calculation).Finally, store daily summary data in a file, including total number of orders and total revenue for the day, updating it each time a bill is generated.This keeps the system simple, modular, and aligned with MVP requirements.