Function 4: Generate a random capchar code.
• Use the Random function to generate a random number sequence and then transfer them to type sequences of characters (char).
Function 5: Check code captcha
• Use Function contains () to check input captcha characters exist in captcha chain was born an original.
• If no valid captcha characters, it returns an error message corresponding to the language you chose.
Functions 6: Sign
• Allows the user to enter account numbers, passwords and captcha from keyboard.
• If a valid account number is allowing users to enter a password, and if the account number entered is not valid, then print Errors on the screen and allows users to re-enter.
• If the password is invalid, allowing the user to enter the reverse printing errors captcha screen and allows users to import again.
• If the captcha is not valid, then print error screen.
đang được dịch, vui lòng đợi..
