A/chị giúp e viết 1 chương trình c++ với ạ
Write a menu-driven program in C to manage laptop products.
The program should include the following features:
- Feature 1: Add products
- Feature 2: Display products
- Feature 3: Delete a product
- Feature 4: Search for products by name
- Feature 5: Save products to text file
- Feature 6: Load products from the saved text file (The more features your program has, the higher mark you get)
Feature 1: - The program must be able to handle up to 30 products. Allow users to input information for products: o Product ID (can be the same with array index) o Product name o Product price
Feature 2: Display a list of all products to the screen.
Feature 3: Delete a product by its product ID (ask user to enter the product ID). The user should be able to add more products after product deletion.
Feature 4: Ask user for a keyword and search for products whose name contain the entered keyword. Display the search results on screen.
Feature 5: Save the products to a text file. Students are free to decide the format of the text file, as long as products can be loaded back to the program later.
Feature 6: Load products from the saved text file into the program so that user doesn’t have to add the same products again.
Bạn viết được feature nào rồi?
Mình đang tự học chưa viết được cái nào cái này là mình lấy từ tài liệu nước ngoài về bạn làm được thì giúp mình với, mình xem qua thôi rồi tự làm lại.