Login interface with card:
Determine if the card number is correct: when the user enters a card number, it will be compared with the number of all users in the library, once successful, then jump out of the comparison of the loop, and record the more correct this information (bb=true), as while the loop condition (!BB) will not be established, so stop the loop again output If the comparison is unsuccessful, the BB's value is still false, while the loop condition (!BB) of the while loop is set, so the while cycle executes again;
Login interface with card:
Determine if the card number is correct: when the user enters a card number, it will be compared with the number of all users in the library, once successful, then jump out of the comparison of the loop, and record the more correct this information (bb=true), as while the loop condition (!BB) will not be established, so stop the loop again output If the comparison is unsuccessful, the BB's value is still false, while the loop condition (!BB) of the while loop is set, so the while cycle executes again;
Data type conversions: String to integer: Int variable =integer.valueof (string type)
To determine the password input:
Provide a service interface based on account type:
Jia Yue (Shenzhen) technology Co., Ltd.
Beauty comes from here.
: Jajoyyojoy
Weibo:Http://weibo.com/JaJoy
Official website:http://www.galajoy.com/
Account Opening method part code (reference)