1. Display a 6 Bit random number ( Verification Code ), And prompt the user to enter the user name 、 Password and just shown 6 Bit verification code ;2. establish user Dictionary keeping 3 Group user and password data , If the user name and password entered by the user are consistent with the preset name and password in the dictionary , And the verification code is also the same as the prompt 6 Bit verification code matches , Then continue the program to enter the initial state of the system main interface ( See below “ System main interface ”->“ The initial state ” part ), For example, the following process : explain : The background is the content output for the program , The answer is entered by the user : Your login verification code is 386597 Please enter a user name :zhangsan Please input a password :123456 Login verification code :386597 Authentication passed , Welcome to login ! If the user name and password entered by the user do not match the information in the dictionary , Or verification code and prompt 6 Bit verification code does not conform to , Login failed , Prompt authentication failed , Exit procedure . For example, the following process : explain : The background is the content output for the program , The answer is entered by the user : Your login verification code is 386597 Please enter a user name :zhangsan Please input a password :123456 Login verification code :123456 Authentication failed ! >>>3. System main interface : Enter the system display system function interface , Function as follows :1. Increase inventory ( Product Name 、 Number )2. Merchandise out of warehouse 3. Display all item information inventory 4. Exit the system. The system consists of 4 Features . Input “1” when , If there are no goods in stock, new goods will be added , If it already exists, the entered inventory will be increased ; Input “2” when , If there is no commodity in stock or the quantity is insufficient, it will be reminded , Otherwise, reduce inventory ; Input “3” when , Display all the items in the inventory and the corresponding inventory , It is required to arrange neatly with tabs ; Input “4” when , Prompt whether to exit , answer “Y” Then exit the program . Criteria :30 branch : Realize the display 6 Bit random number ( Verification Code ) And verify whether the verification code entered by the user is consistent with