Home / Expert Answers / Computer Science / in-this-assignment-you-will-create-a-c-program-that-demonstrates-menu-driven-programming-and-the-pa973

(Solved): In this assignment, you will create a c\# program that demonstrates menu-driven programming and the ...




In this assignment, you will create a c\# program that demonstrates menu-driven programming and the use of classes, including
In this assignment, you will create a c\# program that demonstrates menu-driven programming and the use of classes, including both static and non-static attributesjparameters. The program will allow the user to interact with a simple inventory management system, where they can add and remove items from the inventory. Requirements Your program should satisfy the following requirements: 1. The program should display a menu with options for the user to choose from. 2. The user should be able to view the current inventory, add new items to the inventory, and remove items from the inventory. 3. The program should use a class to represent an item in the inventory. The class should have both static and non-static attributes/parameters. Examples of static attributes/parameters could include a variable that keeps track of the total number of items in the inventory, while non-static attributes/parameters could include the item's name, description, quantity, and price. 4. The program should allow the user to search for items in the inventory by name on price. 5. The program should handle errors and input validation appropriately. For example, if the user tries to remove an item that is not in the inventory, the program should display an error message and return to the main menu. Adding the following features to your program: 1. Allow the user to update the quantity and price of existing items in the inventory. 2. Implement a feature to sort the inventory by name or price. 3. Save the inventory data to a file so that it persists between program runs. 4. implement a feature to generate a report that shows the total value of the inventory.


We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe