Problem

Write a small program that allows a user to change his or her password using the Console c...

Write a small program that allows a user to change his or her password using the Console class. As in the example in the text, assume that there is a method validateLogin already created that validates the login, but simply returns true. Also assume there is a method resetPassword that would reset the password in the system, but for now, simply returns true.

Your program should require a new password to have at least six characters with at least one character that is not a letter (upper case or lower case). Also, be sure to prompt the user for the password twice and make sure the responses match. If they don’t match, the user should start the process of entering a new password again. This reduces the possibility that the user mistypes the new password. Remember, you may need to run dais program from a command window.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 1
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT