Home > other >  50% code with comments
50% code with comments

Time:12-28

Write commodity inventory management system
Requirements: 1. Information of goods by commodity number, name of commodity, commodity categories, the inventory of goods, sales
2. To enter commodity information, can display all commodity information,
3. Can according to the name of commodity, commodity categories, such as query, you can query output inventory level is less than 5 goods, a query can be added,
4. Statistics to each type of commodity sales, sales of all kinds of goods,
5. Can sort according to sales, and the ranking results on the screen print,
6. The ability to add, delete, modify (increase the inventory, merchandise sales) commodity information,
7. Function is used to implement system of each function module requirement,
8. By an array or a list (suggest using structure arrays),
9. Commodity information stored in the database,,
Procedure should be adopted modular design, the main function is entrance program, each module is independent, can block debugging, each module is controlled by the main function calls, write the main menu function, return to the corresponding option Numbers, the main function according to the function of the corresponding function called this number, write each function module functions, finally make a comprehensive debugging

CodePudding user response:

Using the python language
  • Related