How to code a password validator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to code a password validator

30th Jul 2020, 6:04 PM
101 furry
101 furry - avatar
2 Answers
+ 1
pls mention the language name in tag ,and do some self search and link the code you have attempted so far , Suppose,the moment programs starts you accept a password from a user and then store it in a variable ,now you want that user can access a certain part of program only if he enters the correct password again ,so you check the new password that he enters and try to equate it with the one which was entered at the start of program ,if it's the same password you allow the user to access that specific part
30th Jul 2020, 6:12 PM
Abhay
Abhay - avatar
0
Share your try before asking password validator program so that we can help.
30th Jul 2020, 6:19 PM
shubham kumar
shubham kumar - avatar