Skip to main content
Question
Asked a question 2 years ago

A program that asks a new user about the userid and password and then appends it to file “security.txt” provided the given userid does not exist in the file. If it does, then display error message “User id already exists” and then prompts the user to re-enter the userid. Also, make sure that the password is at least 8 characters long with at least a digit a nd a special character out of “ $ , @ , % “ in it.

Sign Up to score 💯 in class 12 computer science

Related Questions

No related questions.