Chức năng 3: Kiểm tra mật khẩu.• Sử dụng RegularExpression để kiểm tra dịch - Chức năng 3: Kiểm tra mật khẩu.• Sử dụng RegularExpression để kiểm tra Anh làm thế nào để nói

Chức năng 3: Kiểm tra mật khẩu.• Sử

Chức năng 3: Kiểm tra mật khẩu.
• Sử dụng RegularExpression để kiểm tra tính hợp lệ của mật khẩu đã được nhập vào theo yêu cầu của đề bài.
• Nếu mật khẩu không hợp lệ thì trả về thông báo lỗi tương ứng ngôn ngữ bạn đã lựa chọn.

Chức năng 4: Tạo ra một mã capchar ngẫu nhiên.
• Dùng hàm Random để tạo ra một dãy số ngẫu nhiên rồi chuyển dãy số đó về kiểu ký tự (kiểu char).

Chức năng 5: Kiểm tra mã captcha
• Sử dụng hàm contains() để kiểm tra xem ký tự captcha nhập vào có tồn tại trong chuỗi captcha được sinh ra ban đầu không.
• Nếu ký tự captcha không hợp lệ thì trả về thông báo lỗi tương ứng với ngôn ngữ bạn đã chọn.

Chức năng 6: Đăng nhập
• Cho phép người sử dụng nhập số tài khoản, mật khẩu và captcha từ bàn phím.
• Nếu số tài khoản hợp lệ thì cho phép người dùng nhập mật khẩu và nếu số tài khoản nhập vào không hợp lệ thì in lỗi ra màn hình và cho phép người dùng nhập lại.
• Nếu mật khẩu hợp lệ thì cho phép người dùng nhập captcha ngược lại in lỗi ra màn hình và cho phép người sử dụng nhập lại.
• Nếu captcha không hợp lệ thì in lỗi ra màn hình.

0/5000
Từ: -
Sang: -
Kết quả (Anh) 1: [Sao chép]
Sao chép!
3 function: check the password.• Use a RegularExpression to check the validity of the password has to be entered at the request of the article subject.• If the password is invalid, then return the corresponding error message language you have selected.4 functions: generate a random capchar code.• Use the Random function to generate a random sequence of numbers, and then move that number of characters (type char).Function 5: check the captcha code• Use the function contains () to check the captcha characters entered exists in the captcha string was born at first did not.• If the captcha characters are invalid, then returns the error message that corresponds to the language you have selected.6 functions: log in• Allows the user to enter the account number, password and captcha from the keyboard.• If a valid account number, then allows the user to enter a password and if the account number entered is not valid, then print out the error screen and allows the user to enter again.• If valid password then allows users to enter captcha reverse printed in error out of the screen and allows the user to enter again.• If the captcha is not valid then print out the error screen.
đang được dịch, vui lòng đợi..
Kết quả (Anh) 2:[Sao chép]
Sao chép!
Function 3: Check the password.
• Use RegularExpression to check the validity of the password has been entered at the request of the assignment.
• If the password is invalid, it returns the corresponding error message language you have selected. Function 4: Create a random capchar code. • Use the Random function to generate a random number sequence and then transfer it to the range of a character type (char). Function 5: Check code captcha • Use the 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 selected. Function 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 invalid, screen printing error and allows users to re-enter. • If a valid password is allowing users to enter a captcha opposite error printer screen and allows users to re-enter. • If captcha not valid, print screen error.














đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: